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:
icncsx 2020-06-08 18:59:38 -04:00 committed by GitHub
parent ee3792f447
commit 5ba354a5c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,6 +142,12 @@
}
}
body.default-navbar-config {
.article .body [id] {
scroll-margin-top: var(--header-height);
}
}
article {
padding: 0 0;
position: relative;