From e98d97a271857efe14e6f15d8971d452b2d1a2d5 Mon Sep 17 00:00:00 2001
From: Felix Nie <hongtuo.nie@u.nus.edu>
Date: Wed, 07 May 2025 19:56:18 +0000
Subject: [PATCH] feat(i18n): readermode translations and icon (#1961)
---
quartz/components/styles/search.scss | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index 182b56b..2cf98ce 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -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%;
@@ -204,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