mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-12 08:23:39 +00:00
more visual polish, adjust colours and spacing
This commit is contained in:
parent
ab9da02c60
commit
38cff2d670
22 changed files with 173 additions and 140 deletions
quartz/components
|
@ -26,7 +26,7 @@ function TableOfContents({ fileData }: QuartzComponentProps) {
|
|||
</svg>
|
||||
</button>
|
||||
<div id="toc-content">
|
||||
<ul>
|
||||
<ul class="overflow">
|
||||
{fileData.toc.map(tocEntry => <li key={tocEntry.slug} class={`depth-${tocEntry.depth}`}>
|
||||
<a href={`#${tocEntry.slug}`} data-for={tocEntry.slug}>{tocEntry.text}</a>
|
||||
</li>)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue