luci-theme-bootstrap: set scroll-margin-top for all elements
so we can use element.scrollIntoView() with fixed header Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
This commit is contained in:
parent
51db83ce3c
commit
7a023b3245
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue