Fix scroll-padding on article anchor links (#13501)

This commit is contained in:
Tushar Sadhwani 2021-04-28 19:00:58 +05:30 committed by GitHub
parent 0211a7c341
commit 9cc4817e2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,10 @@
height: 10px;
}
:root {
scroll-padding-top: var(--header-height);
}
body.default-header {
.crayons-article .crayons-article__body [id] {
scroll-margin-top: var(--header-height);