From c26120ae36bf2a4c3337120401650c60d16557e8 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 20 Sep 2024 15:36:43 +0800 Subject: [PATCH] fix(core): bring back menu offset (#8327) --- packages/frontend/component/src/ui/menu/desktop/root.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/component/src/ui/menu/desktop/root.tsx b/packages/frontend/component/src/ui/menu/desktop/root.tsx index 16a605fad3ef..6c91d97fbaa8 100644 --- a/packages/frontend/component/src/ui/menu/desktop/root.tsx +++ b/packages/frontend/component/src/ui/menu/desktop/root.tsx @@ -42,6 +42,7 @@ export const DesktopMenu = ({ desktopStyles.contentAnimation, className )} + sideOffset={4} align="start" style={{ zIndex: 'var(--affine-z-index-popover)', ...contentStyle }} {...otherContentOptions}