Account for hero height when scrolling to comments

This commit is contained in:
Jake Howard 2024-01-02 23:35:43 +00:00
parent 3bafe01ad6
commit f790fb08b9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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)
}