aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-04 10:27:06 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-04 10:27:06 -0700
commit88514a2ff053490b4342caeeaf5abf13355fc5d8 (patch)
treeef6a79a225863a416b96966c7bdaa491db9cec7e /modern/src/other
parentc3485f12fbd263c5f3d52eefc6165dc3915edc12 (diff)
downloadtrackermap-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.js5
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: {