From c2bea8a4c4aeba440b8a7b043d7ece6343a9d263 Mon Sep 17 00:00:00 2001
From: derfalx <kschneider@falx.tech>
Date: Thu, 08 Jan 2026 01:30:42 +0000
Subject: [PATCH] fix(citation): Language parameter for non en-US settings (#2075)

---
 quartz/components/styles/darkmode.scss |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index edf4e61..e0999c7 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -5,9 +5,10 @@
   background: none;
   border: none;
   width: 20px;
-  height: 20px;
-  margin: 0 10px;
+  height: 32px;
+  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