From 07a327e05aa2a48aa11faf9aa0e049201d622f8f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 17 Aug 2023 08:34:50 +0000
Subject: [PATCH] fix back button in spa not working between two pages that both have hash fragments
---
quartz/components/styles/darkmode.scss | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/quartz/components/styles/darkmode.scss b/quartz/components/styles/darkmode.scss
index 561a83c..10cbc72 100644
--- a/quartz/components/styles/darkmode.scss
+++ b/quartz/components/styles/darkmode.scss
@@ -1,12 +1,8 @@
.darkmode {
- float: right;
- padding: 1rem;
- min-width: 30px;
position: relative;
-
- @media all and (max-width: 450px) {
- padding: 1rem;
- }
+ width: 20px;
+ height: 20px;
+ margin: 0 10px;
& > .toggle {
display: none;
@@ -20,7 +16,6 @@
width: 20px;
height: 20px;
top: calc(50% - 10px);
- margin: 0 7px;
fill: var(--darkgray);
transition: opacity 0.1s ease;
}
--
Gitblit v1.10.0