mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 22:03:35 -04:00
Fixed table of contents highlighting for active anchor links
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user