From 52ef6d1b6f2c4be99426929fc98b17dc7e7e96fc Mon Sep 17 00:00:00 2001
From: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Date: Tue, 06 Feb 2024 06:12:31 +0000
Subject: [PATCH] fix(search): set background-color for icon within preview panel (#815)

---
 quartz/components/styles/search.scss |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index 3ad774e..2f07fe7 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -59,6 +59,10 @@
       margin-left: auto;
       margin-right: auto;
 
+      @media all and (max-width: $fullPageWidth) {
+        width: 90%;
+      }
+
       & > * {
         width: 100%;
         border-radius: 7px;
@@ -155,6 +159,10 @@
             margin: 0 auto;
             width: min($pageWidth, 100%);
           }
+
+          & [data-icon] {
+            background-color: transparent;
+          }
         }
 
         & > #results-container {

--
Gitblit v1.10.0