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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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