Skip to content

Commit 860225a

Browse files
committed
Updated sizing of Export code modal
1 parent 86ade31 commit 860225a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/components/left/SimpleModal.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ const styles = (theme: any): any => ({
1212
width: 'auto',
1313
maxWidth: '500px',
1414
height: 'auto',
15-
maxHeight: '300px',
15+
maxHeight: '500px',
1616
backgroundColor: theme.palette.background.paper,
1717
boxShadow: theme.shadows[5],
1818
padding: '4%',
1919
minWidth: '500px',
20-
minHeight: '300px',
20+
minHeight: '300px'
2121
},
2222
button: {
2323
marginTop: '0%',
2424
height: 'auto',
2525
marginLeft: '3%',
2626
borderRadius: '4px',
27-
float: 'right',
28-
},
27+
float: 'right'
28+
}
2929
});
3030

3131
const SimpleModal = (props: any) => {
@@ -38,47 +38,47 @@ const SimpleModal = (props: any) => {
3838
primBtnAction,
3939
secBtnAction,
4040
closeModal,
41-
children = null,
41+
children = null
4242
} = props;
4343

4444
return (
4545
<Fragment>
4646
<Modal
47-
aria-labelledby="simple-modal-title"
48-
aria-describedby="simple-modal-description"
47+
aria-labelledby='simple-modal-title'
48+
aria-describedby='simple-modal-description'
4949
onClose={closeModal}
5050
open={open}
5151
>
5252
<div
5353
style={{
5454
top: '50%',
5555
left: '50%',
56-
transform: 'translate(-50%, -50%)',
56+
transform: 'translate(-50%, -50%)'
5757
}}
5858
className={classes.paper}
5959
>
6060
<IconButton
61-
aria-label="Close"
61+
aria-label='Close'
6262
onClick={closeModal}
6363
style={{
6464
position: 'absolute',
6565
top: '2%',
6666
right: '1%',
6767
fontSize: '17px',
68-
fontWeight: 'bold',
68+
fontWeight: 'bold'
6969
}}
7070
>
7171
<CloseIcon />
7272
</IconButton>
73-
<Typography variant="h6" id="modal-title">
73+
<Typography variant='h6' id='modal-title'>
7474
{message}
7575
</Typography>
7676
<div>{children}</div>
7777
<div>
7878
{secBtnLabel ? (
7979
<Button
80-
variant="contained"
81-
color="secondary"
80+
variant='contained'
81+
color='secondary'
8282
className={classes.button}
8383
onClick={secBtnAction}
8484
>
@@ -87,8 +87,8 @@ const SimpleModal = (props: any) => {
8787
) : null}
8888
{primBtnLabel ? (
8989
<Button
90-
variant="contained"
91-
color="primary"
90+
variant='contained'
91+
color='primary'
9292
className={classes.button}
9393
onClick={primBtnAction}
9494
>

0 commit comments

Comments
 (0)