Skip to content

Commit

Permalink
chore: tweak menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Aug 13, 2024
1 parent c3f381c commit 506d2ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/MemoDisplaySettingMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ const MemoDisplaySettingMenu = ({ className }: Props) => {
>
<Icon.Settings2 className="w-4 h-auto shrink-0" />
</PopoverTrigger>
<PopoverContent align="end" alignOffset={-12}>
<PopoverContent align="end" alignOffset={-12} sideOffset={14}>
<div className="flex flex-col gap-2">
<div className="w-full flex flex-row justify-between items-center">
<span className="text-sm shrink-0 mr-2">Order by</span>
<span className="text-sm shrink-0 mr-3">Order by</span>
<Select value="displayTime">
<Option value={"displayTime"}>Display Time</Option>
</Select>
</div>
<div className="w-full flex flex-row justify-between items-center">
<span className="text-sm shrink-0 mr-2">Direction</span>
<span className="text-sm shrink-0 mr-3">Direction</span>
<Select value={memoFilterStore.orderByTimeAsc} onChange={(_, value) => memoFilterStore.setOrderByTimeAsc(Boolean(value))}>
<Option value={false}>DESC</Option>
<Option value={true}>ASC</Option>
Expand Down

0 comments on commit 506d2ed

Please sign in to comment.