Display ToC sections properly (do not trim content)

This commit is contained in:
Greg Korba
2023-11-02 09:10:15 +01:00
committed by Greg Korba
parent 84e941d50a
commit 9a208addea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
/* See: https://github.com/adityatelange/hugo-PaperMod/pull/979#issuecomment-1654974106 */
html.header-sticky {
scroll-padding-top: calc(var(--header-height) * 2);
}
header.header-sticky {
position: sticky;
top: 0;