Skip to content

Commit

Permalink
fix(core): bring back menu offset (#8327)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Sep 20, 2024
1 parent ec7c630 commit c26120a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/component/src/ui/menu/desktop/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const DesktopMenu = ({
desktopStyles.contentAnimation,
className
)}
sideOffset={4}
align="start"
style={{ zIndex: 'var(--affine-z-index-popover)', ...contentStyle }}
{...otherContentOptions}
Expand Down

0 comments on commit c26120a

Please sign in to comment.