I may have fixed the broken scrolling...

..but broken (at least) the admin page at the same time
This commit is contained in:
augustin64 2023-09-22 14:57:39 +02:00
parent 5d2f150bf8
commit 48f1d7f675

View File

@ -82,12 +82,12 @@
} }
/** Hide scrollbars (deeply needed on Chromium) */ /** Hide scrollbars (needed on Chromium) */
::-webkit-scrollbar { *::-webkit-scrollbar {
display: none; display: none;
} }
:root { * {
-ms-overflow-style: none; -ms-overflow-style: none;
scrollbar-width: none; scrollbar-width: none;
} }
@ -139,10 +139,16 @@ body {
transition: left 0.5s ease; transition: left 0.5s ease;
padding: 0 25px; padding: 0 25px;
max-height: 100vh;
display: flex;
flex-direction: column;
} }
#content { #content {
margin-bottom: 50px; margin-bottom: 50px;
flex: 1;
overflow: hidden;
} }
#footer { #footer {
@ -199,6 +205,10 @@ input:checked#slide-sidebar~#content-container {
overflow: unset; overflow: unset;
} }
input:checked#slide-sidebar~#content-container>#content {
overflow-y: scroll;
}
input:checked#slide-sidebar~#footer { input:checked#slide-sidebar~#footer {
left: 0; left: 0;
overflow: unset; overflow: unset;