aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/OptionsLayout.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-04 18:21:53 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-04 18:21:53 -0700
commit644a598fb76d23a042a69a45806623ccb9fb79de (patch)
treed2a9471df6a5011f339545e1923e18faef67187c /modern/src/settings/OptionsLayout.js
parent3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229 (diff)
downloadtrackermap-web-644a598fb76d23a042a69a45806623ccb9fb79de.tar.gz
trackermap-web-644a598fb76d23a042a69a45806623ccb9fb79de.tar.bz2
trackermap-web-644a598fb76d23a042a69a45806623ccb9fb79de.zip
Reduce tablet breakpoint
Diffstat (limited to 'modern/src/settings/OptionsLayout.js')
-rw-r--r--modern/src/settings/OptionsLayout.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/settings/OptionsLayout.js b/modern/src/settings/OptionsLayout.js
index 6aab5e37..ccd2bdb7 100644
--- a/modern/src/settings/OptionsLayout.js
+++ b/modern/src/settings/OptionsLayout.js
@@ -38,14 +38,14 @@ const useStyles = makeStyles((theme) => ({
},
drawer: {
width: theme.dimensions.drawerWidthDesktop,
- [theme.breakpoints.down('md')]: {
+ [theme.breakpoints.down('sm')]: {
width: theme.dimensions.drawerWidthTablet,
},
},
content: {
flex: 1,
padding: theme.spacing(5, 3, 3, 3),
- [theme.breakpoints.down('md')]: {
+ [theme.breakpoints.down('sm')]: {
paddingTop: theme.spacing(10),
},
},
@@ -56,7 +56,7 @@ const useStyles = makeStyles((theme) => ({
padding: theme.spacing(0, 1),
},
toolbar: {
- [theme.breakpoints.down('md')]: {
+ [theme.breakpoints.down('sm')]: {
...theme.mixins.toolbar,
},
},
@@ -111,7 +111,7 @@ const OptionsLayout = ({ children }) => {
return (
<div className={classes.root}>
- <Hidden lgUp>
+ <Hidden mdUp>
<NavBar setOpenDrawer={setOpenDrawer} title={title} />
<Drawer
variant="temporary"
@@ -123,7 +123,7 @@ const OptionsLayout = ({ children }) => {
</Drawer>
</Hidden>
- <Hidden mdDown>
+ <Hidden smDown>
<Drawer
variant="permanent"
classes={{ root: classes.drawerContainer, paper: classes.drawer }}