diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-24 09:27:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-24 09:27:21 -0700 |
commit | 3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409 (patch) | |
tree | bdacdadf8d6cf582741fcc86e8f7881f7766d64e /modern/src/main | |
parent | fd3a593c681dd09e3a7a04d60ab7cec36d471ece (diff) | |
download | trackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.tar.gz trackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.tar.bz2 trackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.zip |
Fix toolbar shadow
Diffstat (limited to 'modern/src/main')
-rw-r--r-- | modern/src/main/MainPage.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index 059d7043..9190edd7 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -60,6 +60,9 @@ const useStyles = makeStyles((theme) => ({ transform: 'translateX(-100vw)', }, }, + toolbarContainer: { + zIndex: 4, + }, toolbar: { display: 'flex', padding: theme.spacing(0, 1), @@ -164,7 +167,7 @@ const MainPage = () => { <div className={classes.sidebarToggleText}>{t('deviceTitle')}</div> </Button> <Paper square elevation={3} className={`${classes.sidebar} ${collapsed && classes.sidebarCollapsed}`}> - <Paper square elevation={3}> + <Paper square elevation={3} className={classes.toolbarContainer}> <Toolbar className={classes.toolbar} disableGutters> {!desktop && ( <IconButton onClick={handleClose}> |