diff options
author | eug-vs <eug-vs@keemail.me> | 2020-11-15 08:41:58 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-11-15 08:41:58 +0300 |
commit | ff4196b57cc2a167eda392908ec214732b9f06fd (patch) | |
tree | 93a83e16b3dfef95f66f42e0310095dfcca5ecde /src/index.tsx | |
parent | c81e4232329f5aee6ddcd94674a63682720646b2 (diff) | |
download | famcs-kit-ff4196b57cc2a167eda392908ec214732b9f06fd.tar.gz |
feat: optimize layout for mobile
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx index 5155ab7..c0f8c9b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -8,7 +8,9 @@ import { AuthProvider } from './hooks/useAuth'; const useStyles = makeStyles(theme => ({ root: { - margin: theme.spacing(4), + [theme.breakpoints.up('md')]: { + margin: theme.spacing(4) + }, padding: theme.spacing(2), minHeight: theme.spacing(60) } |