aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-04-18 12:03:30 -0700
committerAnton Tananaev <anton@traccar.org>2023-04-18 12:03:30 -0700
commitfc788646bc720d3cceb639db83094d8540025d3b (patch)
tree9802006a1b2990537b3c3230eeb26d77b3ac4345
parent74dc5065ffd3866d660fd7b908a26c5089173d08 (diff)
downloadtrackermap-web-fc788646bc720d3cceb639db83094d8540025d3b.tar.gz
trackermap-web-fc788646bc720d3cceb639db83094d8540025d3b.tar.bz2
trackermap-web-fc788646bc720d3cceb639db83094d8540025d3b.zip
Fix geofence removal (fix #1103)
-rw-r--r--modern/src/other/GeofencesPage.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js
index a5917df9..6ce7ae8e 100644
--- a/modern/src/other/GeofencesPage.js
+++ b/modern/src/other/GeofencesPage.js
@@ -32,9 +32,11 @@ const useStyles = makeStyles((theme) => ({
flexDirection: 'column-reverse',
},
},
+ drawer: {
+ zIndex: 1,
+ },
drawerPaper: {
position: 'relative',
- zIndex: 0,
[theme.breakpoints.up('sm')]: {
width: theme.dimensions.drawerWidthTablet,
},
@@ -102,6 +104,7 @@ const GeofencesPage = () => {
<div className={classes.root}>
<div className={classes.content}>
<Drawer
+ className={classes.drawer}
anchor={isPhone ? 'bottom' : 'left'}
variant="permanent"
classes={{ paper: classes.drawerPaper }}