diff options
Diffstat (limited to 'modern/src/other')
-rw-r--r-- | modern/src/other/GeofencesPage.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index c8144991..900571e1 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -12,6 +12,7 @@ import CurrentLocationMap from '../map/CurrentLocationMap'; import GeofenceEditMap from '../map/GeofenceEditMap'; import GeofencesList from './GeofencesList'; import { useTranslation } from '../common/components/LocalizationProvider'; +import dimensions from '../common/theme/dimensions'; const useStyles = makeStyles((theme) => ({ root: { @@ -31,10 +32,10 @@ const useStyles = makeStyles((theme) => ({ drawerPaper: { position: 'relative', [theme.breakpoints.up('sm')]: { - width: 350, + width: dimensions.drawerWidthTablet, }, [theme.breakpoints.down('xs')]: { - height: 250, + height: dimensions.drawerHeightPhone, }, }, drawerHeader: { |