Ensure headings are still visible when scrolling to them
This commit is contained in:
parent
c526ff0d47
commit
664e59cf37
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ section.content {
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
.heading-anchor {
|
.heading-anchor {
|
||||||
|
scroll-margin-top: 160px; // navbar height (ish)
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue