From aaa4b4f0cb8f41dbd666464df75a6dacb7ed0ddc Mon Sep 17 00:00:00 2001 From: JimmFly Date: Sun, 7 May 2023 07:58:41 +0800 Subject: [PATCH] fix: wrong menu position (#2238) --- .../workspace-header/header-right-items/EditorOptionMenu.tsx | 2 +- packages/component/src/ui/shared/Container.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/blocksuite/workspace-header/header-right-items/EditorOptionMenu.tsx b/apps/web/src/components/blocksuite/workspace-header/header-right-items/EditorOptionMenu.tsx index 1e9d6f6f3f..ce362f2ef6 100644 --- a/apps/web/src/components/blocksuite/workspace-header/header-right-items/EditorOptionMenu.tsx +++ b/apps/web/src/components/blocksuite/workspace-header/header-right-items/EditorOptionMenu.tsx @@ -142,7 +142,7 @@ const PageMenu = () => { diff --git a/packages/component/src/ui/shared/Container.tsx b/packages/component/src/ui/shared/Container.tsx index 482b240ec2..3262474f8b 100644 --- a/packages/component/src/ui/shared/Container.tsx +++ b/packages/component/src/ui/shared/Container.tsx @@ -32,7 +32,7 @@ export const placementToContainerDirection: Record< 'right-end': 'left-bottom', bottom: 'none', 'bottom-start': 'left-top', - 'bottom-end': 'right-top', + 'bottom-end': 'none', left: 'none', 'left-start': 'right-top', 'left-end': 'right-bottom',