From 9c8fec06d2b58e4e3bbe280ddc665a99fcc4878c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 09 Mar 2025 22:33:15 +0000
Subject: [PATCH] feat: support non-singleton search

---
 quartz/components/styles/backlinks.scss |   46 ++++++++++++----------------------------------
 1 files changed, 12 insertions(+), 34 deletions(-)

diff --git a/quartz/components/styles/backlinks.scss b/quartz/components/styles/backlinks.scss
index 36fb6a4..71c13f0 100644
--- a/quartz/components/styles/backlinks.scss
+++ b/quartz/components/styles/backlinks.scss
@@ -1,43 +1,21 @@
 @use "../../styles/variables.scss" as *;
 
 .backlinks {
-  @media all and not ($mobile) {
-    overflow-y: auto;
-    display: flex;
-    flex-direction: column;
-    &:after {
-      pointer-events: none;
-      content: "";
-      width: 100%;
-      height: 50px;
-      position: absolute;
-      left: 0;
-      bottom: 0;
-      opacity: 1;
-      transition: opacity 0.3s ease;
-      background: linear-gradient(transparent 0px, var(--light));
-    }
+  flex-direction: column;
 
-    & > h3 {
-      font-size: 1rem;
-      margin: 0;
-    }
+  & > h3 {
+    font-size: 1rem;
+    margin: 0;
+  }
 
-    & > ul {
-      list-style: none;
-      padding: 0;
-      margin: 0.5rem 0;
+  & > ul {
+    list-style: none;
+    padding: 0;
+    margin: 0.5rem 0;
 
-      & > li {
-        & > a {
-          background-color: transparent;
-        }
-      }
-    }
-
-    & > .overflow {
-      &:after {
-        display: none;
+    & > li {
+      & > a {
+        background-color: transparent;
       }
     }
   }

--
Gitblit v1.10.0