Fix scroll-padding on article anchor links (#13501)
This commit is contained in:
parent
0211a7c341
commit
9cc4817e2e
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue