Merge pull request #6296 from jjm2473/patch-2
authorPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 02:44:24 +0000 (03:44 +0100)
committerPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 22:39:01 +0000 (23:39 +0100)
luci-theme-bootstrap: set scroll-margin-top for all elements
(cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 2ab22d18d077fc7a0605842352e4c1028526771d..3afcc6ad99b54979fc3182abd69c3280aa3251d9 100644 (file)
  * 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;