From 48f1d7f675b544bc0694377667a7179dd63c5293 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Fri, 22 Sep 2023 14:57:39 +0200 Subject: [PATCH] I may have fixed the broken scrolling... ..but broken (at least) the admin page at the same time --- partitioncloud/static/style.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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;