From 7253557d2c5e3ee6ff2f093068cd6beac6defe6d Mon Sep 17 00:00:00 2001
From: Wen Taichi <daleth90@gmail.com>
Date: Tue, 08 Jul 2025 02:52:49 +0000
Subject: [PATCH] fix(goatcounter): properly count SPA page hits (#2035)
---
quartz/components/styles/explorer.scss | 22 ++++------------------
1 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index 55c4372..8d94100 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -239,7 +239,7 @@
margin-top: 0;
background-color: var(--light);
max-width: 100vw;
- width: 100%;
+ width: 100vw;
transform: translateX(-100vw);
transition:
transform 200ms ease,
@@ -263,22 +263,8 @@
}
}
-.no-scroll {
- opacity: 0;
- overflow: hidden;
-}
-
-html:has(.no-scroll) {
- overflow: hidden;
-}
-
-@media all and not ($mobile) {
- .no-scroll {
- opacity: 1 !important;
- overflow: auto !important;
- }
-
- html:has(.no-scroll) {
- overflow: auto !important;
+.mobile-no-scroll {
+ @media all and ($mobile) {
+ overscroll-behavior: none;
}
}
--
Gitblit v1.10.0