From e26658f4ed7068b6bec2563fd4aef82011d53a3b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 13 Mar 2025 21:22:11 +0000
Subject: [PATCH] fix(description): calculate description properly when first sentence is longer than max
---
quartz/components/styles/darkmode.scss | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index 4295282..5d1e078 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -29,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