From 94798fcc39944eec22f62be0b807b1876af207de Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 4 Dec 2023 03:44:24 +0100 Subject: [PATCH] Merge pull request #6296 from jjm2473/patch-2 luci-theme-bootstrap: set scroll-margin-top for all elements (cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0) --- .../htdocs/luci-static/bootstrap/cascade.css | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2