diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-24 19:21:27 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-24 19:21:27 -0700 |
commit | 09954c06d8970f27ad14f8b30ed14cf357a1fa5e (patch) | |
tree | 1f9e8c5c106095529d7f8d40da2bb214523be71d | |
parent | ba6c8ea46a53389b305498dde74a86298c497714 (diff) | |
download | trackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.tar.gz trackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.tar.bz2 trackermap-web-09954c06d8970f27ad14f8b30ed14cf357a1fa5e.zip |
Use fixed positions
-rw-r--r-- | modern/src/login/LoginLayout.js | 2 | ||||
-rw-r--r-- | modern/src/main/MainPage.js | 4 | ||||
-rw-r--r-- | modern/src/other/ReplayPage.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/login/LoginLayout.js b/modern/src/login/LoginLayout.js index 4d86d2f6..f3a688ef 100644 --- a/modern/src/login/LoginLayout.js +++ b/modern/src/login/LoginLayout.js @@ -40,7 +40,7 @@ const useStyles = makeStyles((theme) => ({ width: '100%', }, attribution: { - position: 'absolute', + position: 'fixed', bottom: theme.spacing(1), right: theme.spacing(1.5), fontSize: 'x-small', 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', diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index 9277cee8..b217b374 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -28,7 +28,7 @@ const useStyles = makeStyles((theme) => ({ sidebar: { display: 'flex', flexDirection: 'column', - position: 'absolute', + position: 'fixed', zIndex: 3, left: 0, top: 0, |