Skip to content

Commit

Permalink
chore: fix action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Oct 28, 2024
1 parent db2b34a commit c124253
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@mui/joy": "5.0.0-beta.48",
"@radix-ui/react-popover": "^1.1.2",
"@reduxjs/toolkit": "^2.3.0",
"@usememos/mui": "0.0.1-alpha.20",
"@usememos/mui": "0.0.1-alpha.23",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"copy-to-clipboard": "^3.3.3",
Expand Down
10 changes: 5 additions & 5 deletions web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ const AddMemoRelationPopover = (props: Props) => {

return (
<Popover open={popoverOpen} onOpenChange={setPopoverOpen}>
<PopoverTrigger>
<Button size="sm" variant="plain">
<LinkIcon className="w-5 h-5 mx-auto" />
<PopoverTrigger className="w-9">
<Button className="flex items-center justify-center" size="sm" variant="plain" asChild>
<LinkIcon className="w-5 h-5 mx-auto p-0" />
</Button>
</PopoverTrigger>
<PopoverContent align="center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const LocationSelector = (props: Props) => {
return (
<Popover open={popoverOpen} onOpenChange={setPopoverOpen}>
<PopoverTrigger>
<Button className="group" size="sm" variant="plain">
<Button className="flex items-center justify-center" size="sm" variant="plain" asChild>
<MapPinIcon className="w-5 h-5 mx-auto shrink-0" />
{props.location && (
<>
Expand Down

0 comments on commit c124253

Please sign in to comment.