fix: wrong menu position (#2238)

This commit is contained in:
JimmFly authored and GitHub committed 2023-05-06 18:58:41 -05:00
1 parent 10cd000822
commit aaa4b4f0cb
2 files changed
+2 -2

No files matched your search

@@ -142,7 +142,7 @@ const PageMenu = () => {
<Menu <Menu
width={276} width={276}
content={EditMenu} content={EditMenu}
placement="bottom" placement="bottom-end"
disablePortal={true} disablePortal={true}
trigger="click" trigger="click"
> >
@@ -32,7 +32,7 @@ export const placementToContainerDirection: Record<
'right-end': 'left-bottom', 'right-end': 'left-bottom',
bottom: 'none', bottom: 'none',
'bottom-start': 'left-top', 'bottom-start': 'left-top',
'bottom-end': 'right-top', 'bottom-end': 'none',
left: 'none', left: 'none',
'left-start': 'right-top', 'left-start': 'right-top',
'left-end': 'right-bottom', 'left-end': 'right-bottom',