Fixed table of contents highlighting for active anchor links

This commit is contained in:
squidfunk
2020-12-30 11:05:23 +01:00
parent 82b0ea8b0e
commit 45aff3cfc5
5 changed files with 7 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ export function watchAnchorList(
/* Compute necessary adjustment for header */
const adjust$ = header$
.pipe(
map(header => 18 + header.height)
map(header => 24 + header.height)
)
/* Compute partition of previous and next anchors */