Account for hero height when scrolling to comments
This commit is contained in:
parent
3bafe01ad6
commit
f790fb08b9
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@ section.content {
|
|||
h5,
|
||||
h6 {
|
||||
.heading-anchor {
|
||||
scroll-margin-top: var(--hero-height); // navbar height (ish)
|
||||
scroll-margin-top: var(--hero-height); // hero height (ish)
|
||||
margin-right: 0.5rem;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
@ -62,3 +62,7 @@ section.content {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#comments {
|
||||
scroll-margin-top: var(--hero-height); // hero height (ish)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue