Ensure headings are still visible when scrolling to them

This commit is contained in:
Jake Howard 2022-07-04 20:58:51 +01:00
parent c526ff0d47
commit 664e59cf37
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,6 +8,7 @@ section.content {
h5,
h6 {
.heading-anchor {
scroll-margin-top: 160px; // navbar height (ish)
margin-right: 0.5rem;
}
}