From 80f03da00bac5f040cb6f972cbaa60e595e4ac85 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 15 Sep 2024 21:54:16 -0700 Subject: [PATCH] Fix geofences page --- src/other/GeofencesPage.jsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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)}>