We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fd4a2fd + d8804a8 commit 233251eCopy full SHA for 233251e
1 file changed
src/frontend/src/components/NERDraggableFormModal.tsx
@@ -39,13 +39,13 @@ export const NERDraggableFormModal = ({
39
return (
40
<>
41
{open && (
42
- <Draggable handle=".draggable-handle" nodeRef={nodeRef}>
+ <Draggable handle=".draggable-handle" nodeRef={nodeRef} positionOffset={{ x: '-50%', y: '-50%' }}>
43
<Box
44
ref={nodeRef}
45
sx={{
46
position: 'fixed',
47
top: '50%',
48
- right: '5%',
+ left: '50%',
49
backgroundColor: theme.palette.background.paper,
50
boxShadow: 24,
51
zIndex: 6,
0 commit comments