File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
site/src/pages/WorkspacePage/WorkspaceActions Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { useTheme } from "@emotion/react" ;
2
- import ExpandMoreOutlined from "@mui/icons-material/ExpandMoreOutlined" ;
3
2
import Button from "@mui/material/Button" ;
4
3
import visuallyHidden from "@mui/utils/visuallyHidden" ;
5
4
import { API } from "api/api" ;
@@ -25,6 +24,7 @@ import {
25
24
usePopover ,
26
25
} from "components/deprecated/Popover/Popover" ;
27
26
import { useFormik } from "formik" ;
27
+ import { ChevronDownIcon } from "lucide-react" ;
28
28
import type { FC } from "react" ;
29
29
import { useQuery } from "react-query" ;
30
30
import { docs } from "utils/docs" ;
@@ -58,8 +58,12 @@ export const BuildParametersPopover: FC<BuildParametersPopoverProps> = ({
58
58
return (
59
59
< Popover >
60
60
< 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 />
63
67
< span css = { { ...visuallyHidden } } > { label } </ span >
64
68
</ TopbarButton >
65
69
</ PopoverTrigger >
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export const FavoriteButton: FC<FavoriteButtonProps> = ({
186
186
} ) => {
187
187
return (
188
188
< TopbarButton onClick = { ( ) => onToggle ( workspaceID ) } >
189
- { isFavorite ? < StarIcon /> : < StarOffIcon /> }
189
+ { isFavorite ? < StarOffIcon /> : < StarIcon /> }
190
190
{ isFavorite ? "Unfavorite" : "Favorite" }
191
191
</ TopbarButton >
192
192
) ;
You can’t perform that action at this time.
0 commit comments