diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 08:49:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 08:49:58 -0700 |
commit | b98137ab304e8068484926eb31b77bd727a6407d (patch) | |
tree | f2fb0c55e27652c1a6b831aad6e8ff46a3637832 /modern/src/common | |
parent | 145fd060b544ea7886c5b6b11b24fb3da9b93127 (diff) | |
download | trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.gz trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.bz2 trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.zip |
Use standard icon button size
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 | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/common/components/NavBar.js b/modern/src/common/components/NavBar.js index 09560176..a1a73fdf 100644 --- a/modern/src/common/components/NavBar.js +++ b/modern/src/common/components/NavBar.js @@ -8,7 +8,6 @@ const Navbar = ({ setOpenDrawer, title }) => ( <AppBar position="sticky" color="inherit"> <Toolbar> <IconButton - size="large" color="inherit" edge="start" onClick={() => setOpenDrawer(true)} diff --git a/modern/src/common/components/PageLayout.js b/modern/src/common/components/PageLayout.js index 5360a554..17567fb1 100644 --- a/modern/src/common/components/PageLayout.js +++ b/modern/src/common/components/PageLayout.js @@ -81,7 +81,7 @@ const PageLayout = ({ menu, breadcrumbs, children }) => { > <div className={classes.toolbar}> <Toolbar> - <IconButton size="large" color="inherit" edge="start" onClick={() => navigate('/')}> + <IconButton color="inherit" edge="start" onClick={() => navigate('/')}> <ArrowBackIcon /> </IconButton> <PageTitle breadcrumbs={breadcrumbs} /> @@ -106,7 +106,7 @@ const PageLayout = ({ menu, breadcrumbs, children }) => { </Drawer> <AppBar position="static" color="inherit"> <Toolbar> - <IconButton size="large" color="inherit" edge="start" onClick={() => setOpenDrawer(true)}> + <IconButton color="inherit" edge="start" onClick={() => setOpenDrawer(true)}> <MenuIcon /> </IconButton> <PageTitle breadcrumbs={breadcrumbs} /> |