Skip to content

Commit

Permalink
fix(theme): fix toc active issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Mar 10, 2024
1 parent 69d2e37 commit 24aceb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme/src/node/plugins/activeHeaderLinks.ts
Expand Up @@ -12,7 +12,7 @@ export const getActiveHeaderLinksPlugin = (
if (activeHeaderLinks === false) return null;

return activeHeaderLinksPlugin({
headerLinkSelector: ".vp-sidebar-link, .toc-link",
headerLinkSelector: ".vp-sidebar-link, .vp-toc-link",
headerAnchorSelector: ".header-anchor",
});
};

0 comments on commit 24aceb8

Please sign in to comment.