Skip to content

Commit

Permalink
fix TableOfContents
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviomoceri committed Oct 23, 2024
1 parent 57ebdb2 commit 792c208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/quartz/components/TableOfContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TableOfContents: QuartzComponent = ({
}

return (
<div class={classNames(displayClass, "toc")}>
<div style={{ overflowY: "auto", maxHeight: "40vh" }} class={classNames(displayClass, "toc")}>
<button type="button" id="toc" class={fileData.collapseToc ? "collapsed" : ""}>
<h3>{i18n(cfg.locale).components.tableOfContents.title}</h3>
<svg
Expand Down

0 comments on commit 792c208

Please sign in to comment.