aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/components/PageLayout.js15
1 files changed, 6 insertions, 9 deletions
diff --git a/modern/src/common/components/PageLayout.js b/modern/src/common/components/PageLayout.js
index 11459557..e81c9754 100644
--- a/modern/src/common/components/PageLayout.js
+++ b/modern/src/common/components/PageLayout.js
@@ -32,7 +32,6 @@ const useStyles = makeStyles((theme) => ({
mobileDrawer: {
width: theme.dimensions.drawerWidthTablet,
},
- desktopToolbar: theme.mixins.toolbar,
mobileToolbar: {
zIndex: 1,
},
@@ -82,14 +81,12 @@ const PageLayout = ({ menu, breadcrumbs, children }) => {
className={classes.desktopDrawer}
classes={{ paper: classes.desktopDrawer }}
>
- <div className={classes.toolbar}>
- <Toolbar>
- <IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}>
- <ArrowBackIcon />
- </IconButton>
- <PageTitle breadcrumbs={breadcrumbs} />
- </Toolbar>
- </div>
+ <Toolbar>
+ <IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}>
+ <ArrowBackIcon />
+ </IconButton>
+ <PageTitle breadcrumbs={breadcrumbs} />
+ </Toolbar>
<Divider />
{menu}
</Drawer>