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