summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-12-04 03:44:24 +0100
committerPaul Donald <newtwen@gmail.com>2023-12-04 23:40:37 +0100
commitb07421efe9eb39c31ee4c17b5b2134af0d27d573 (patch)
treeadbcba5d1b70a7d8de52559323e18c9a85ed63be
parent1707651357b5b44e0c794bad4372984ff68eb912 (diff)
Merge pull request #6296 from jjm2473/patch-2
luci-theme-bootstrap: set scroll-margin-top for all elements (cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0)
-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 6b51189ff9..8968fa0d24 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;