From fa6c02d3213dfd4e6da8e78bd3a2e7004555fd01 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 24 Jan 2024 01:08:56 +0000
Subject: [PATCH] fix: make search result card block

---
 quartz/components/styles/listPage.scss |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/quartz/components/styles/listPage.scss b/quartz/components/styles/listPage.scss
index 1823815..c8fc9e9 100644
--- a/quartz/components/styles/listPage.scss
+++ b/quartz/components/styles/listPage.scss
@@ -1,3 +1,5 @@
+@use "../../styles/variables.scss" as *;
+
 ul.section-ul {
   list-style: none;
   margin-top: 2em;
@@ -11,19 +13,14 @@
     display: grid;
     grid-template-columns: 6em 3fr 1fr;
 
-    @media all and (max-width: 600px) {
+    @media all and (max-width: $mobileBreakpoint) {
       & > .tags {
         display: none;
       }
     }
 
-    & > .tags {
-      justify-self: end;
-      margin-left: 1rem;
-    }
-
-    & > .desc a {
-      background-color: transparent; 
+    & > .desc > h3 > a {
+      background-color: transparent;
     }
 
     & > .meta {

--
Gitblit v1.10.0