Skip to content

Commit e5aeccf

Browse files
committed
Visual fixes
1 parent fe462ce commit e5aeccf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

site/src/pages/WorkspacePage/WorkspaceActions/BuildParametersPopover.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useTheme } from "@emotion/react";
2-
import ExpandMoreOutlined from "@mui/icons-material/ExpandMoreOutlined";
32
import Button from "@mui/material/Button";
43
import visuallyHidden from "@mui/utils/visuallyHidden";
54
import { API } from "api/api";
@@ -25,6 +24,7 @@ import {
2524
usePopover,
2625
} from "components/deprecated/Popover/Popover";
2726
import { useFormik } from "formik";
27+
import { ChevronDownIcon } from "lucide-react";
2828
import type { FC } from "react";
2929
import { useQuery } from "react-query";
3030
import { docs } from "utils/docs";
@@ -58,8 +58,12 @@ export const BuildParametersPopover: FC<BuildParametersPopoverProps> = ({
5858
return (
5959
<Popover>
6060
<PopoverTrigger>
61-
<TopbarButton data-testid="build-parameters-button" disabled={disabled}>
62-
<ExpandMoreOutlined css={{ fontSize: 14 }} />
61+
<TopbarButton
62+
data-testid="build-parameters-button"
63+
disabled={disabled}
64+
className="min-w-fit"
65+
>
66+
<ChevronDownIcon />
6367
<span css={{ ...visuallyHidden }}>{label}</span>
6468
</TopbarButton>
6569
</PopoverTrigger>

site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export const FavoriteButton: FC<FavoriteButtonProps> = ({
186186
}) => {
187187
return (
188188
<TopbarButton onClick={() => onToggle(workspaceID)}>
189-
{isFavorite ? <StarIcon /> : <StarOffIcon />}
189+
{isFavorite ? <StarOffIcon /> : <StarIcon />}
190190
{isFavorite ? "Unfavorite" : "Favorite"}
191191
</TopbarButton>
192192
);

0 commit comments

Comments
 (0)