From d77615c42253566ebb29ed30bba4702bb2872b80 Mon Sep 17 00:00:00 2001 From: Thomas Schröder Date: Sun, 18 Feb 2024 14:16:20 +0100 Subject: luci-theme-bootstrap: Allways show scrollbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this addition to the body tag, on desktop browsers the vertical scrollbar is always visible and the content will not be shifted by changing tabs (like at System/Software when the update tab has no to little content). I couldn't see any negative side effects with Chromium browsers or Firefox under Windows/Linux and Android, but I don't have access to Apple devices for tests. Signed-off-by: Thomas Schröder --- themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 1 + 1 file changed, 1 insertion(+) (limited to 'themes/luci-theme-bootstrap/htdocs') diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index f1b6dccab2..9cf9b45b38 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -288,6 +288,7 @@ body { min-height: 100%; display: flex; flex-direction: column; + overflow-y: scroll; } .container { -- cgit v1.2.3