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>
Tue, 15 Feb 2022 23:43:35 +0000 (00:43 +0100)
Only enable scrollbars if content overflows.

Fixes: #5505
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7f26e86a9f840eb1b9ef11831fa8f6c9eeade079)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index bd99801fefd5a565dd56badb8f85e943741362ee..58b09541d5015e5113aea517050763b9bae20e88 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;