mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
B: Fix context menu position
This commit is contained in:
parent
a2c994281e
commit
edd94abe97
|
@ -39,8 +39,8 @@ export function ContextMenu({ isOpen, item, cursorX, cursorY, onHide }: ContextM
|
||||||
<div
|
<div
|
||||||
ref={ref}
|
ref={ref}
|
||||||
onBlur={handleBlur}
|
onBlur={handleBlur}
|
||||||
className='relative'
|
className='fixed z-tooltip'
|
||||||
style={{ top: `calc(${cursorY}px - 2.5rem)`, left: cursorX }}
|
style={{ top: `calc(${cursorY}px + 0.5rem)`, left: cursorX }}
|
||||||
>
|
>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
className='z-navigation!'
|
className='z-navigation!'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user