diff options
Diffstat (limited to 'modern/src/reports/ReportLayout.js')
-rw-r--r-- | modern/src/reports/ReportLayout.js | 8 |
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 }} |