Skip to content

Commit

Permalink
John conroy/fix search menu styles CAT-762 (#3697)
Browse files Browse the repository at this point in the history
* Fix menu styles

* Add changelog

---------

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>
  • Loading branch information
john-conroy and john-conroy authored Feb 20, 2025
1 parent 7597dfe commit a818e53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-fix-search-menu-styles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Update search page menu styles.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function NewWorkspaceDialogFromSelections() {
return (
<>
<MenuItem onClick={() => setDialogIsOpen(true)}>
<SvgIcon component={WorkspacesIcon} sx={{ mr: 1, fontSize: '1.25rem' }} />
<SvgIcon component={WorkspacesIcon} sx={{ mr: 1, fontSize: '1.25rem' }} color="primary" />
Create New Workspace
</MenuItem>
<NewWorkspaceDialog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function WorkspaceDropdownMenuItem({ dialogType, children, icon: Icon }: Workspa
const onClick = useOpenDialog(dialogType);
return (
<MenuItem onClick={onClick}>
<Icon sx={{ mr: 1, fontSize: '1.25rem' }} />
<Icon sx={{ mr: 1, fontSize: '1.25rem' }} color="primary" />
{children}
</MenuItem>
);
Expand All @@ -68,7 +68,7 @@ function WorkspaceDropdownMenu({ type }: MetadataMenuProps) {
}
return (
<>
<StyledDropdownMenuButton menuID={menuID} variant="contained">
<StyledDropdownMenuButton menuID={menuID} variant="outlined">
<SvgIcon component={WorkspacesIcon} sx={{ mr: 1, fontSize: '1.25rem' }} />
Workspaces
</StyledDropdownMenuButton>
Expand Down

0 comments on commit a818e53

Please sign in to comment.