fix(core): bring back menu offset (#8327)

This commit is contained in:
Peng Xiao
2024-09-20 15:36:43 +08:00
committed by GitHub
parent ec7c63019f
commit c26120ae36

View File

@@ -42,6 +42,7 @@ export const DesktopMenu = ({
desktopStyles.contentAnimation, desktopStyles.contentAnimation,
className className
)} )}
sideOffset={4}
align="start" align="start"
style={{ zIndex: 'var(--affine-z-index-popover)', ...contentStyle }} style={{ zIndex: 'var(--affine-z-index-popover)', ...contentStyle }}
{...otherContentOptions} {...otherContentOptions}