1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-23 06:41:30 +00:00

recent notes css fixes

This commit is contained in:
Jacky Zhao
2023-08-20 14:05:37 -07:00
parent 1bb00e72bb
commit b99d4cd8ce
3 changed files with 6 additions and 5 deletions

View File

@@ -13,13 +13,13 @@ const defaultOptions: Options = {
layout: "modern",
}
function TableOfContents({ fileData }: QuartzComponentProps) {
function TableOfContents({ fileData, displayClass }: QuartzComponentProps) {
if (!fileData.toc) {
return null
}
return (
<div class="desktop-only">
<div class={`toc ${displayClass}`}>
<button type="button" id="toc">
<h3>Table of Contents</h3>
<svg