aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReportLayout.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/reports/ReportLayout.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/reports/ReportLayout.js')
-rw-r--r--modern/src/reports/ReportLayout.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/reports/ReportLayout.js b/modern/src/reports/ReportLayout.js
index 8606ed42..98a2bc75 100644
--- a/modern/src/reports/ReportLayout.js
+++ b/modern/src/reports/ReportLayout.js
@@ -25,7 +25,7 @@ const useStyles = makeStyles((theme) => ({
},
drawer: {
width: theme.dimensions.drawerWidthDesktop,
- [theme.breakpoints.down('md')]: {
+ [theme.breakpoints.down('sm')]: {
width: theme.dimensions.drawerWidthTablet,
},
},
@@ -45,7 +45,7 @@ const useStyles = makeStyles((theme) => ({
},
},
toolbar: {
- [theme.breakpoints.down('md')]: {
+ [theme.breakpoints.down('sm')]: {
...theme.mixins.toolbar,
},
},
@@ -85,7 +85,7 @@ const ReportLayout = ({ children, filter }) => {
return (
<div className={classes.root}>
- <Hidden only={['lg', 'xl']}>
+ <Hidden mdUp>
<NavBar setOpenDrawer={setOpenDrawer} title={pageTitle} />
<Drawer
variant="temporary"
@@ -96,7 +96,7 @@ const ReportLayout = ({ children, filter }) => {
<SideNav routes={routes} />
</Drawer>
</Hidden>
- <Hidden only={['xs', 'sm', 'md']}>
+ <Hidden smDown>
<Drawer
variant="permanent"
classes={{ root: classes.drawerContainer, paper: classes.drawer }}