Skip to content

Commit

Permalink
Fix geofences page
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Sep 16, 2024
1 parent 8fc60ab commit 80f03da
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/other/GeofencesPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -109,7 +107,7 @@ const GeofencesPage = () => {
className={classes.drawer}
anchor={isPhone ? 'bottom' : 'left'}
variant="permanent"
classes={{ paper: classes.drawerPaper }}
classes={{ paper: classes.drawer }}
>
<Toolbar>
<IconButton edge="start" sx={{ mr: 2 }} onClick={() => navigate(-1)}>
Expand Down

0 comments on commit 80f03da

Please sign in to comment.