We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ebdb2 commit 792c208Copy full SHA for 792c208
quartz/quartz/components/TableOfContents.tsx
@@ -25,7 +25,7 @@ const TableOfContents: QuartzComponent = ({
25
}
26
27
return (
28
- <div class={classNames(displayClass, "toc")}>
+ <div style={{ overflowY: "auto", maxHeight: "40vh" }} class={classNames(displayClass, "toc")}>
29
<button type="button" id="toc" class={fileData.collapseToc ? "collapsed" : ""}>
30
<h3>{i18n(cfg.locale).components.tableOfContents.title}</h3>
31
<svg
0 commit comments