aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r--modern/src/MainPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js
index 4de1107e..e632bf9d 100644
--- a/modern/src/MainPage.js
+++ b/modern/src/MainPage.js
@@ -21,6 +21,7 @@ import CurrentLocationMap from './map/CurrentLocationMap';
import BottomMenu from './components/BottomMenu';
import { useTranslation } from './LocalizationProvider';
import PoiMap from './map/PoiMap';
+import MapPadding from './map/MapPadding';
const useStyles = makeStyles((theme) => ({
root: {
@@ -109,6 +110,7 @@ const MainPage = () => {
return (
<div className={classes.root}>
<Map>
+ {!isTablet && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop)} />}
<CurrentLocationMap />
<GeofenceMap />
<AccuracyMap />