aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-24 19:21:27 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-24 19:21:27 -0700
commit09954c06d8970f27ad14f8b30ed14cf357a1fa5e (patch)
tree1f9e8c5c106095529d7f8d40da2bb214523be71d /modern/src/main
parentba6c8ea46a53389b305498dde74a86298c497714 (diff)
downloadtrackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.tar.gz
trackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.tar.bz2
trackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.zip
Use fixed positions
Diffstat (limited to 'modern/src/main')
-rw-r--r--modern/src/main/MainPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index c33df655..29aaf1aa 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -39,7 +39,7 @@ const useStyles = makeStyles((theme) => ({
sidebar: {
display: 'flex',
flexDirection: 'column',
- position: 'absolute',
+ position: 'fixed',
left: 0,
top: 0,
zIndex: 3,
@@ -87,7 +87,7 @@ const useStyles = makeStyles((theme) => ({
transform: 'translateX(-50%)',
},
sidebarToggle: {
- position: 'absolute',
+ position: 'fixed',
left: theme.spacing(1.5),
top: theme.spacing(3),
borderRadius: '0px',