From: Paul Donald Date: Mon, 4 Dec 2023 02:44:24 +0000 (+0100) Subject: Merge pull request #6296 from jjm2473/patch-2 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=94798fcc39944eec22f62be0b807b1876af207de;p=project%2Fluci.git Merge pull request #6296 from jjm2473/patch-2 luci-theme-bootstrap: set scroll-margin-top for all elements (cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0) --- 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;