diff options
author | eug-vs <eug-vs@keemail.me> | 2020-10-08 19:31:20 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-10-08 19:31:20 +0300 |
commit | 3ea7d6bd0bfd6aefd939bf84f5dc1696cf68231e (patch) | |
tree | cc918446bcf30113a62b15daa9847af5d7736577 | |
parent | 8660ae7ba37c3e1812bfbbf4bca31bfe3274edcf (diff) | |
download | which-ui-3ea7d6bd0bfd6aefd939bf84f5dc1696cf68231e.tar.gz |
feat: tweak modal paddings on desktop
-rw-r--r-- | src/components/ModalScreen/ModalScreen.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ModalScreen/ModalScreen.tsx b/src/components/ModalScreen/ModalScreen.tsx index 110bd8b..7090980 100644 --- a/src/components/ModalScreen/ModalScreen.tsx +++ b/src/components/ModalScreen/ModalScreen.tsx @@ -25,7 +25,7 @@ const useStyles = makeStyles(theme => ({ backgroundColor: theme.palette.background.default }, content: { - padding: theme.spacing(3, 0, 0, 0) + padding: theme.spacing(6, 0) }, toolbar: { display: 'flex', @@ -55,6 +55,7 @@ const ModalScreen: React.FC<PropTypes> = ({ title, rightIcon, children }) => { TransitionComponent={Transition} PaperProps={{ className: classes.root }} fullScreen={isMobile} + maxWidth="md" fullWidth > <AppBar position="static"> |