feat: remove flex from modal
This commit is contained in:
@@ -81,7 +81,7 @@ export const SaveRecording = ({ fileName }: SaveRecordingProps) => {
|
|||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}>
|
<GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}>
|
||||||
<form onSubmit={handleSaveRecording} style={{ paddingTop: '20px', display: 'flex', flexDirection: 'column' }} >
|
<form onSubmit={handleSaveRecording}>
|
||||||
<Typography variant="h6">Save Robot</Typography>
|
<Typography variant="h6">Save Robot</Typography>
|
||||||
<TextField
|
<TextField
|
||||||
required
|
required
|
||||||
@@ -120,7 +120,7 @@ const modalStyle = {
|
|||||||
top: '25%',
|
top: '25%',
|
||||||
left: '50%',
|
left: '50%',
|
||||||
transform: 'translate(-50%, -50%)',
|
transform: 'translate(-50%, -50%)',
|
||||||
width: '50%',
|
width: '30%',
|
||||||
backgroundColor: 'background.paper',
|
backgroundColor: 'background.paper',
|
||||||
p: 4,
|
p: 4,
|
||||||
height: 'fit-content',
|
height: 'fit-content',
|
||||||
|
|||||||
Reference in New Issue
Block a user