From 8ab9102113667cd472da7cc34333425b4aa70aee Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 26 May 2022 16:49:45 -0700 Subject: Improve toolbar back button --- modern/src/common/components/NavBar.js | 1 + modern/src/common/components/PageLayout.js | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modern/src/common/components') 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 }) => ( setOpenDrawer(true)} > 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 }) => { >
- navigate('/')}> + navigate('/')}> @@ -106,7 +105,7 @@ const PageLayout = ({ menu, breadcrumbs, children }) => { - setOpenDrawer(true)}> + setOpenDrawer(true)}> -- cgit v1.2.3