diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-21 07:54:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-21 07:54:51 -0700 |
commit | 3175d85dfe6cd4db2285063dd4c8d361b324e01f (patch) | |
tree | 6d2f94895562e91c5226987184f4a69bc739838f /modern/src/other/GeofencesPage.js | |
parent | 9d97b19a0124755853d0b3fbb79a5be2061fafc8 (diff) | |
download | trackermap-web-3175d85dfe6cd4db2285063dd4c8d361b324e01f.tar.gz trackermap-web-3175d85dfe6cd4db2285063dd4c8d361b324e01f.tar.bz2 trackermap-web-3175d85dfe6cd4db2285063dd4c8d361b324e01f.zip |
Geofences page cleanup
Diffstat (limited to 'modern/src/other/GeofencesPage.js')
-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: { |