Skip to content

Commit d8804a8

Browse files
3953-save-gantt-changes-modal-misplaced fix prettier errors
1 parent 933a73a commit d8804a8

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

src/frontend/src/components/NERDraggableFormModal.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ export const NERDraggableFormModal = ({
3939
return (
4040
<>
4141
{open && (
42-
<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-
left: '50%',
49-
backgroundColor: theme.palette.background.paper,
50-
boxShadow: 24,
51-
zIndex: 6,
52-
width: '40%',
53-
borderRadius: '8px'
54-
}}
55-
>
42+
<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+
left: '50%',
49+
backgroundColor: theme.palette.background.paper,
50+
boxShadow: 24,
51+
zIndex: 6,
52+
width: '40%',
53+
borderRadius: '8px'
54+
}}
55+
>
5656
{showCloseButton && (
5757
<IconButton
5858
aria-label="close"
@@ -81,8 +81,8 @@ export const NERDraggableFormModal = ({
8181
</NERSuccessButton>
8282
</Box>
8383
)}
84-
</Box>
85-
</Draggable>
84+
</Box>
85+
</Draggable>
8686
)}
8787
</>
8888
);

0 commit comments

Comments
 (0)