mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): adjust pop position of editing property menu in setting (#8308)
This commit is contained in:
@@ -172,6 +172,10 @@ const EditPropertyButton = ({
|
|||||||
onOpenChange: handleFinishEditing,
|
onOpenChange: handleFinishEditing,
|
||||||
}}
|
}}
|
||||||
items={editing ? editMenuItems : defaultMenuItems}
|
items={editing ? editMenuItems : defaultMenuItems}
|
||||||
|
contentOptions={{
|
||||||
|
align: 'end',
|
||||||
|
sideOffset: 4,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<IconButton onClick={() => setOpen(true)} size="20">
|
<IconButton onClick={() => setOpen(true)} size="20">
|
||||||
<MoreHorizontalIcon />
|
<MoreHorizontalIcon />
|
||||||
|
|||||||
Reference in New Issue
Block a user