diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-22 09:32:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-22 09:32:59 -0700 |
commit | 761501c4a0712629c001a9103b572caa3698c7f5 (patch) | |
tree | 134ecdd0611f38853363f57e752b375ce868acfb /modern/src/main | |
parent | 36c41d6e0b20756d0da7f13a322d337a69a78d6f (diff) | |
download | trackermap-web-761501c4a0712629c001a9103b572caa3698c7f5.tar.gz trackermap-web-761501c4a0712629c001a9103b572caa3698c7f5.tar.bz2 trackermap-web-761501c4a0712629c001a9103b572caa3698c7f5.zip |
Fix map padding jump
Diffstat (limited to 'modern/src/main')
-rw-r--r-- | modern/src/main/MainPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index 2f3ed3dc..88d101ca 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -140,7 +140,6 @@ const MainPage = () => { return ( <div className={classes.root}> <Map> - {!isTablet && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop, 10)} />} <CurrentLocationMap /> <GeofenceMap /> <AccuracyMap /> @@ -150,6 +149,7 @@ const MainPage = () => { <SelectedDeviceMap /> <PoiMap /> </Map> + {!isTablet && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop, 10)} />} <Button variant="contained" color={isPhone ? 'secondary' : 'primary'} |