aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main
diff options
context:
space:
mode:
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',