diff options
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/components/NavBar.js | 1 | ||||
-rw-r--r-- | modern/src/common/components/PageLayout.js | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/common/components/NavBar.js b/modern/src/common/components/NavBar.js index a1a73fdf..a53960fd 100644 --- a/modern/src/common/components/NavBar.js +++ b/modern/src/common/components/NavBar.js @@ -10,6 +10,7 @@ const Navbar = ({ setOpenDrawer, title }) => ( <IconButton color="inherit" edge="start" + sx={{ mr: 2 }} onClick={() => setOpenDrawer(true)} > <MenuIcon /> diff --git a/modern/src/common/components/PageLayout.js b/modern/src/common/components/PageLayout.js index 17567fb1..9d05b703 100644 --- a/modern/src/common/components/PageLayout.js +++ b/modern/src/common/components/PageLayout.js @@ -37,7 +37,6 @@ const useStyles = makeStyles((theme) => ({ content: { flexGrow: 1, alignItems: 'stretch', - overflow: 'auto', display: 'flex', flexDirection: 'column', }, @@ -81,7 +80,7 @@ const PageLayout = ({ menu, breadcrumbs, children }) => { > <div className={classes.toolbar}> <Toolbar> - <IconButton color="inherit" edge="start" onClick={() => navigate('/')}> + <IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}> <ArrowBackIcon /> </IconButton> <PageTitle breadcrumbs={breadcrumbs} /> @@ -106,7 +105,7 @@ const PageLayout = ({ menu, breadcrumbs, children }) => { </Drawer> <AppBar position="static" color="inherit"> <Toolbar> - <IconButton color="inherit" edge="start" onClick={() => setOpenDrawer(true)}> + <IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => setOpenDrawer(true)}> <MenuIcon /> </IconButton> <PageTitle breadcrumbs={breadcrumbs} /> |