From 7a77f54e50146b05bea62934f417016bbd81b794 Mon Sep 17 00:00:00 2001
From: Amir Pourmand <pourmand1376@gmail.com>
Date: Wed, 17 Sep 2025 23:04:22 +0000
Subject: [PATCH] fix(i18n): Add RTL Detection based on Config Set Language (#2100)
---
quartz/components/styles/search.scss | 21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index 182b56b..879686e 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -8,8 +8,8 @@
}
& > .search-button {
- background-color: var(--lightgray);
- border: none;
+ background-color: transparent;
+ border: 1px var(--lightgray) solid;
border-radius: 4px;
font-family: inherit;
font-size: inherit;
@@ -21,11 +21,10 @@
cursor: pointer;
white-space: nowrap;
width: 100%;
- justify-content: space-between;
& > p {
display: inline;
- padding: 0 1rem;
+ color: var(--gray);
}
& svg {
@@ -36,7 +35,7 @@
.search-path {
stroke: var(--darkgray);
- stroke-width: 2px;
+ stroke-width: 1.5px;
transition: stroke 0.5s ease;
}
}
@@ -133,11 +132,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 +205,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