Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): adjust pop position of editing property menu in setting (#8308)

Cats Juicea38f291a01d8
diff --git a/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/properties/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/properties/index.tsx
index 96898ddd49..65de2add3f 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/properties/index.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/properties/index.tsx
@@ -172,6 +172,10 @@ const EditPropertyButton = ({
onOpenChange: handleFinishEditing,
}}
items={editing ? editMenuItems : defaultMenuItems}
+ contentOptions={{
+ align: 'end',
+ sideOffset: 4,
+ }}
>
<IconButton onClick={() => setOpen(true)} size="20">
<MoreHorizontalIcon />