From a7a0dcad22876b8e4e0185b8c4b4d8131be965b1 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Wed, 25 Sep 2024 21:20:58 +0000
Subject: [PATCH] fix(layout): grid triage and regression (#1440)

---
 quartz/components/styles/backlinks.scss |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/quartz/components/styles/backlinks.scss b/quartz/components/styles/backlinks.scss
index 3b7ab5b..36fb6a4 100644
--- a/quartz/components/styles/backlinks.scss
+++ b/quartz/components/styles/backlinks.scss
@@ -1,9 +1,10 @@
 @use "../../styles/variables.scss" as *;
 
 .backlinks {
-  @media all and not ($desktop) {
+  @media all and not ($mobile) {
     overflow-y: auto;
-    display: initial;
+    display: flex;
+    flex-direction: column;
     &:after {
       pointer-events: none;
       content: "";
@@ -17,10 +18,6 @@
       background: linear-gradient(transparent 0px, var(--light));
     }
 
-    &:has(> .overflow) {
-      position: unset;
-    }
-
     & > h3 {
       font-size: 1rem;
       margin: 0;
@@ -39,10 +36,6 @@
     }
 
     & > .overflow {
-      max-height: unset;
-      & > li:last-of-type {
-        margin-bottom: 0;
-      }
       &:after {
         display: none;
       }

--
Gitblit v1.10.0