diff --git a/src/other/GeofencesPage.jsx b/src/other/GeofencesPage.jsx index 546b51695c..f7a9d6aa8c 100644 --- a/src/other/GeofencesPage.jsx +++ b/src/other/GeofencesPage.jsx @@ -36,14 +36,12 @@ const useStyles = makeStyles((theme) => ({ }, drawer: { zIndex: 1, - }, - drawerPaper: { - position: 'relative', + position: 'relative !important', [theme.breakpoints.up('sm')]: { width: theme.dimensions.drawerWidthDesktop, }, [theme.breakpoints.down('sm')]: { - height: theme.dimensions.drawerHeightPhone, + height: `${theme.dimensions.drawerHeightPhone} !important`, }, }, mapContainer: { @@ -109,7 +107,7 @@ const GeofencesPage = () => { className={classes.drawer} anchor={isPhone ? 'bottom' : 'left'} variant="permanent" - classes={{ paper: classes.drawerPaper }} + classes={{ paper: classes.drawer }} > navigate(-1)}>