recent notes css fixes
This commit is contained in:
parent
1bb00e72bb
commit
b99d4cd8ce
3 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue