aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-24 09:27:21 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-24 09:27:21 -0700
commit3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409 (patch)
treebdacdadf8d6cf582741fcc86e8f7881f7766d64e
parentfd3a593c681dd09e3a7a04d60ab7cec36d471ece (diff)
downloadtrackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.tar.gz
trackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.tar.bz2
trackermap-web-3d3dc1d0cd8894e5e3691ec1c2bd5381fdb5a409.zip
Fix toolbar shadow
-rw-r--r--modern/src/main/MainPage.js5
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}>