diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-24 21:36:29 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-24 21:36:29 -0700 |
commit | d307f8f7e0556c0a7f4544618a081eb9a80c5845 (patch) | |
tree | acc90e59743614e20d756dcb16d7c0dafee7bf20 /modern/src/common/components | |
parent | 8956f2a0ad4b1a9cc126013c316da4706eaae0b8 (diff) | |
download | trackermap-web-d307f8f7e0556c0a7f4544618a081eb9a80c5845.tar.gz trackermap-web-d307f8f7e0556c0a7f4544618a081eb9a80c5845.tar.bz2 trackermap-web-d307f8f7e0556c0a7f4544618a081eb9a80c5845.zip |
Clean up page toolbar
Diffstat (limited to 'modern/src/common/components')
-rw-r--r-- | modern/src/common/components/PageLayout.js | 15 |
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> |