summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-12-04 03:44:24 +0100
committerGitHub <noreply@github.com>2023-12-04 03:44:24 +0100
commit16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0 (patch)
treebcea101d06da8530df0afdd9e02908fb387669c8
parent706668243b8617d5c5529ac76e54f84dc57203e3 (diff)
parent7a023b3245ccf6fa78601cf2237e6e41e1a3da95 (diff)
Merge pull request #6296 from jjm2473/patch-2
luci-theme-bootstrap: set scroll-margin-top for all elements
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css4
1 files changed, 4 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 2ab22d18d0..3afcc6ad99 100644
--- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -154,6 +154,10 @@
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
+* {
+ scroll-margin-top: 40px;
+}
+
*, *::before, *::after {
margin: 0;
padding: 0;