From 59d5a0ed3a6089c1e2a18d846fd8e428696eca92 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Tue, 25 Feb 2025 12:35:24 +0000
Subject: [PATCH] fix(graph): mobile global graph overlay (#1790)

---
 quartz/components/styles/search.scss |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index b0df6c8..4daefee 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -64,7 +64,7 @@
       margin-left: auto;
       margin-right: auto;
 
-      @media all and ($desktop) {
+      @media all and not ($desktop) {
         width: 90%;
       }
 
@@ -106,7 +106,7 @@
           flex: 0 0 min(30%, 450px);
         }
 
-        @media all and not ($tablet) {
+        @media all and not ($mobile) {
           &[data-preview] {
             & .result-card > p.preview {
               display: none;
@@ -132,7 +132,7 @@
           border-radius: 5px;
         }
 
-        @media all and ($tablet) {
+        @media all and ($mobile) {
           & > #preview-container {
             display: none !important;
           }
@@ -151,6 +151,7 @@
         }
 
         & > #preview-container {
+          flex-grow: 1;
           display: block;
           overflow: hidden;
           font-family: inherit;

--
Gitblit v1.10.0