mirror of
https://github.com/aljazceru/pubky-knowledge-base.git
synced 2025-12-17 13:54:23 +01:00
fix TableOfContents
This commit is contained in:
@@ -25,7 +25,7 @@ const TableOfContents: QuartzComponent = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
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" : ""}>
|
<button type="button" id="toc" class={fileData.collapseToc ? "collapsed" : ""}>
|
||||||
<h3>{i18n(cfg.locale).components.tableOfContents.title}</h3>
|
<h3>{i18n(cfg.locale).components.tableOfContents.title}</h3>
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Reference in New Issue
Block a user