From 6d350500f1bdadc9604ece5980dafa02150dd849 Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Thu, 27 Feb 2025 21:35:19 +0000
Subject: [PATCH] fix(goatcounter): properly count SPA page hits (#1718)
---
quartz/components/styles/toc.scss | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 3b2b6b3..4988cd8 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -1,12 +1,20 @@
+@use "../../styles/variables.scss" as *;
+
.toc {
display: flex;
flex-direction: column;
+
&.desktop-only {
- display: flex;
max-height: 40%;
}
}
+@media all and not ($mobile) {
+ .toc {
+ display: flex;
+ }
+}
+
button#toc {
background-color: transparent;
border: none;
--
Gitblit v1.10.0