aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-08 19:31:20 +0300
committereug-vs <eug-vs@keemail.me>2020-10-08 19:31:20 +0300
commit3ea7d6bd0bfd6aefd939bf84f5dc1696cf68231e (patch)
treecc918446bcf30113a62b15daa9847af5d7736577
parent8660ae7ba37c3e1812bfbbf4bca31bfe3274edcf (diff)
downloadwhich-ui-3ea7d6bd0bfd6aefd939bf84f5dc1696cf68231e.tar.gz
feat: tweak modal paddings on desktop
-rw-r--r--src/components/ModalScreen/ModalScreen.tsx3
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">