diff --git a/quartz/components/Darkmode.tsx b/quartz/components/Darkmode.tsx index a668c5b..f1a7d08 100644 --- a/quartz/components/Darkmode.tsx +++ b/quartz/components/Darkmode.tsx @@ -18,7 +18,7 @@ function Darkmode({ displayClass }: QuartzComponentProps) { x="0px" y="0px" viewBox="0 0 35 35" - style="enable-background:new 0 0 35 35;" + style="enable-background:new 0 0 35 35" xmlSpace="preserve" > Light mode @@ -34,7 +34,7 @@ function Darkmode({ displayClass }: QuartzComponentProps) { x="0px" y="0px" viewBox="0 0 100 100" - style="enable-background='new 0 0 100 100'" + style="enable-background:new 0 0 100 100" xmlSpace="preserve" > Dark mode diff --git a/quartz/components/ExplorerNode.tsx b/quartz/components/ExplorerNode.tsx index 118f25b..60966b3 100644 --- a/quartz/components/ExplorerNode.tsx +++ b/quartz/components/ExplorerNode.tsx @@ -174,7 +174,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro } return ( -
  • + <> {node.file ? ( // Single file node
  • @@ -183,7 +183,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro
  • ) : ( -
    +
  • {node.name !== "" && ( // Node with entire folder // Render svg button + folder name, then children @@ -214,7 +214,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro ) : ( )}
  • @@ -241,8 +241,8 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro ))} - + )} - + ) } diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss index 28e9f9b..ff046a6 100644 --- a/quartz/components/styles/explorer.scss +++ b/quartz/components/styles/explorer.scss @@ -106,7 +106,7 @@ svg { align-items: center; font-family: var(--headerFont); - & p { + & span { font-size: 0.95rem; display: inline-block; color: var(--secondary);