From ff4196b57cc2a167eda392908ec214732b9f06fd Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 15 Nov 2020 08:41:58 +0300 Subject: feat: optimize layout for mobile --- src/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/index.tsx') 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) } -- cgit v1.2.3