From dc2c4dca0845aa9666a7c7d7eb56265df252f82f Mon Sep 17 00:00:00 2001
From: badcode <alitokurr@gmail.com>
Date: Tue, 29 Apr 2025 16:55:15 +0000
Subject: [PATCH] docs: add fix for 'remote end hung up unexpectedly' error during initial sync (#1939)
---
quartz/components/styles/explorer.scss | 21 ++++-----------------
1 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index a87411b..002b086 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -118,6 +118,7 @@
list-style: none;
margin: 0;
padding: 0;
+ overscroll-behavior: contain;
& li > a {
color: var(--dark);
@@ -262,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) {
+ overflow: hidden;
}
}
--
Gitblit v1.10.0