From f6299da1823b51917792905ca71257e55f706ed6 Mon Sep 17 00:00:00 2001
From: Matthew Bailin <matthewdbailin@gmail.com>
Date: Wed, 17 Jan 2024 17:32:02 +0000
Subject: [PATCH] feat: add ofm option to transform `<img>` tags with video exts into `<video>` (closes #463) (#664)
---
quartz/components/Spacer.tsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Spacer.tsx b/quartz/components/Spacer.tsx
index b9d5bb6..8359111 100644
--- a/quartz/components/Spacer.tsx
+++ b/quartz/components/Spacer.tsx
@@ -1,8 +1,7 @@
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function Spacer({ displayClass }: QuartzComponentProps) {
- const className = displayClass ? `spacer ${displayClass}` : "spacer"
- return <div class={className}></div>
+ return <div class={`spacer ${displayClass ?? ""}`}></div>
}
export default (() => Spacer) satisfies QuartzComponentConstructor
--
Gitblit v1.10.0