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/search.scss | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index fab2c13..2cf98ce 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -42,7 +42,7 @@
}
}
- & > #search-container {
+ & > .search-container {
position: fixed;
contain: layout;
z-index: 999;
@@ -58,7 +58,7 @@
display: inline-block;
}
- & > #search-space {
+ & > .search-space {
width: 65%;
margin-top: 12vh;
margin-left: auto;
@@ -91,7 +91,7 @@
}
}
- & > #search-layout {
+ & > .search-layout {
display: none;
flex-direction: row;
border: 1px solid var(--lightgray);
@@ -102,7 +102,7 @@
display: flex;
}
- &[data-preview] > #results-container {
+ &[data-preview] > .results-container {
flex: 0 0 min(30%, 450px);
}
@@ -133,11 +133,13 @@
}
@media all and ($mobile) {
- & > #preview-container {
+ flex-direction: column;
+
+ & > .preview-container {
display: none !important;
}
- &[data-preview] > #results-container {
+ &[data-preview] > .results-container {
width: 100%;
height: auto;
flex: 0 0 100%;
@@ -150,7 +152,8 @@
scroll-margin-top: 2rem;
}
- & > #preview-container {
+ & > .preview-container {
+ flex-grow: 1;
display: block;
overflow: hidden;
font-family: inherit;
@@ -170,7 +173,7 @@
}
}
- & > #results-container {
+ & > .results-container {
overflow-y: auto;
& .result-card {
@@ -203,6 +206,12 @@
margin: 0;
}
+ @media all and not ($mobile) {
+ & > p.card-description {
+ display: none;
+ }
+ }
+
& > ul.tags {
margin-top: 0.45rem;
margin-bottom: 0;
--
Gitblit v1.10.0