mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 21:43:40 +03:00
fix: wrong menu position (#2238)
This commit is contained in:
parent
10cd000822
commit
aaa4b4f0cb
@ -142,7 +142,7 @@ const PageMenu = () => {
|
||||
<Menu
|
||||
width={276}
|
||||
content={EditMenu}
|
||||
placement="bottom"
|
||||
placement="bottom-end"
|
||||
disablePortal={true}
|
||||
trigger="click"
|
||||
>
|
||||
|
@ -32,7 +32,7 @@ export const placementToContainerDirection: Record<
|
||||
'right-end': 'left-bottom',
|
||||
bottom: 'none',
|
||||
'bottom-start': 'left-top',
|
||||
'bottom-end': 'right-top',
|
||||
'bottom-end': 'none',
|
||||
left: 'none',
|
||||
'left-start': 'right-top',
|
||||
'left-end': 'right-bottom',
|
||||
|
Loading…
Reference in New Issue
Block a user