diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-04 10:27:06 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-04 10:27:06 -0700 |
commit | 88514a2ff053490b4342caeeaf5abf13355fc5d8 (patch) | |
tree | ef6a79a225863a416b96966c7bdaa491db9cec7e /modern/src/other | |
parent | c3485f12fbd263c5f3d52eefc6165dc3915edc12 (diff) | |
download | trackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.tar.gz trackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.tar.bz2 trackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.zip |
Better image layout (fix #678)
Diffstat (limited to 'modern/src/other')
-rw-r--r-- | modern/src/other/GeofencesPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index 59dcdc4e..dd6d96c7 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -14,7 +14,6 @@ import MapCurrentLocation from '../map/MapCurrentLocation'; import MapGeofenceEdit from '../map/MapGeofenceEdit'; import GeofencesList from './GeofencesList'; import { useTranslation } from '../common/components/LocalizationProvider'; -import dimensions from '../common/theme/dimensions'; import MapGeocoder from '../map/geocoder/MapGeocoder'; import { errorsActions } from '../store'; @@ -36,10 +35,10 @@ const useStyles = makeStyles((theme) => ({ drawerPaper: { position: 'relative', [theme.breakpoints.up('sm')]: { - width: dimensions.drawerWidthTablet, + width: theme.dimensions.drawerWidthTablet, }, [theme.breakpoints.down('sm')]: { - height: dimensions.drawerHeightPhone, + height: theme.dimensions.drawerHeightPhone, }, }, mapContainer: { |