fix footnote anchor tag misposition (#8298)
* fix footnote anchor tag misposition * remove important * use scroll-margin-top prop instead of before pseudo element * move css snippet to relevant file
This commit is contained in:
parent
ee3792f447
commit
5ba354a5c8
1 changed files with 6 additions and 0 deletions
|
|
@ -142,6 +142,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
body.default-navbar-config {
|
||||
.article .body [id] {
|
||||
scroll-margin-top: var(--header-height);
|
||||
}
|
||||
}
|
||||
|
||||
article {
|
||||
padding: 0 0;
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue