diff options
author | Anton Tananaev <anton@traccar.org> | 2023-01-14 11:33:07 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-01-14 11:33:07 -0800 |
commit | 117ded36572449077da6176754f29ea510bec900 (patch) | |
tree | d027646d247da96a2f023e43652c60c480e7b1a4 | |
parent | 9216b5f899540f47369ba624bcdc37574e09965a (diff) | |
download | trackermap-web-117ded36572449077da6176754f29ea510bec900.tar.gz trackermap-web-117ded36572449077da6176754f29ea510bec900.tar.bz2 trackermap-web-117ded36572449077da6176754f29ea510bec900.zip |
Fix mouse events (fix #1072)
-rw-r--r-- | modern/src/main/MainPage.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index df1c8734..1040002a 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -22,6 +22,7 @@ const useStyles = makeStyles((theme) => ({ height: '100%', }, sidebar: { + pointerEvents: 'none', display: 'flex', flexDirection: 'column', [theme.breakpoints.up('md')]: { @@ -39,9 +40,11 @@ const useStyles = makeStyles((theme) => ({ }, }, header: { + pointerEvents: 'auto', zIndex: 6, }, footer: { + pointerEvents: 'auto', zIndex: 5, }, middle: { @@ -49,9 +52,11 @@ const useStyles = makeStyles((theme) => ({ display: 'grid', }, contentMap: { + pointerEvents: 'auto', gridArea: '1 / 1', }, contentList: { + pointerEvents: 'auto', gridArea: '1 / 1', zIndex: 4, }, |