aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-15 08:41:58 +0300
committereug-vs <eug-vs@keemail.me>2020-11-15 08:41:58 +0300
commitff4196b57cc2a167eda392908ec214732b9f06fd (patch)
tree93a83e16b3dfef95f66f42e0310095dfcca5ecde /src/index.tsx
parentc81e4232329f5aee6ddcd94674a63682720646b2 (diff)
downloadfamcs-kit-ff4196b57cc2a167eda392908ec214732b9f06fd.tar.gz
feat: optimize layout for mobile
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx4
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)
}