luci-theme-bootstrap: hide scrollbars in modal overlay
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Nov 2021 10:27:36 +0000 (11:27 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 18 Nov 2021 10:27:36 +0000 (11:27 +0100)
Only enable scrollbars if content overflows.

Fixes: #5505
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 86d4c678ea357c29f37c73ed71e7444f26d5c490..46539918b9cb8105e14fa83c25a95d382cea81f8 100644 (file)
@@ -1332,7 +1332,7 @@ footer ul.breadcrumb {
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 900;
-       overflow: scroll;
+       overflow: auto;
        transition: opacity .125s ease-in;
        opacity: 0;
        visibility: hidden;