fix: Link visibility in exampanded TOC while collapseByDefault is true (#1371)
This commit is contained in:
parent
c4cd84dcc8
commit
46b63b68bf
@ -49,7 +49,7 @@ const TableOfContents: QuartzComponent = ({
|
||||
<polyline points="6 9 12 15 18 9"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
<div id="toc-content">
|
||||
<div id="toc-content" class={fileData.collapseToc ? "collapsed" : ""}>
|
||||
<ul class="overflow">
|
||||
{fileData.toc.map((tocEntry) => (
|
||||
<li key={tocEntry.slug} class={`depth-${tocEntry.depth}`}>
|
||||
|
Loading…
Reference in New Issue
Block a user