From e6cc9ba3683897f899cd0b514ba9e54f72d0de8a Mon Sep 17 00:00:00 2001
From: Rithsagea <rithsagea@gmail.com>
Date: Sun, 07 Dec 2025 03:51:37 +0000
Subject: [PATCH] fix: pass mathjax macros to rehype correctly (#2218)
---
quartz/components/styles/darkmode.scss | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index edf4e61..b328743 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -6,8 +6,9 @@
border: none;
width: 20px;
height: 20px;
- margin: 0 10px;
+ margin: 0;
text-align: inherit;
+ flex-shrink: 0;
& svg {
position: absolute;
@@ -28,19 +29,19 @@
}
:root[saved-theme="dark"] .darkmode {
- & > #dayIcon {
+ & > .dayIcon {
display: none;
}
- & > #nightIcon {
+ & > .nightIcon {
display: inline;
}
}
:root .darkmode {
- & > #dayIcon {
+ & > .dayIcon {
display: inline;
}
- & > #nightIcon {
+ & > .nightIcon {
display: none;
}
}
--
Gitblit v1.10.0