summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap/htdocs
diff options
context:
space:
mode:
authorThomas Schröder <tschroeder_github@outlook.com>2024-02-18 14:16:20 +0100
committerGitHub <noreply@github.com>2024-02-18 14:16:20 +0100
commitd77615c42253566ebb29ed30bba4702bb2872b80 (patch)
tree0165cdfe5a2a3d04ebfcad2d6e4a4f45938491dd /themes/luci-theme-bootstrap/htdocs
parent72cb359bc502578c0ef2d1aa2ff0cca28782cb13 (diff)
luci-theme-bootstrap: Allways show scrollbar
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 <tschroeder_github@outlook.com>
Diffstat (limited to 'themes/luci-theme-bootstrap/htdocs')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css1
1 files changed, 1 insertions, 0 deletions
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 {