From 87b803790c10dde62cbc5452014c619eced5b36b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 11 Mar 2025 18:45:45 +0000
Subject: [PATCH] fix(mermaid): themechange detector + expand simplification
---
quartz/components/pages/TagContent.tsx | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx
index 087daf1..03051d3 100644
--- a/quartz/components/pages/TagContent.tsx
+++ b/quartz/components/pages/TagContent.tsx
@@ -7,6 +7,7 @@
import { htmlToJsx } from "../../util/jsx"
import { i18n } from "../../i18n"
import { ComponentChildren } from "preact"
+import { concatenateResources } from "../../util/resources"
interface TagContentOptions {
sort?: SortFn
@@ -124,6 +125,6 @@
}
}
- TagContent.css = style + PageList.css
+ TagContent.css = concatenateResources(style, PageList.css)
return TagContent
}) satisfies QuartzComponentConstructor
--
Gitblit v1.10.0