From 8889ab63ebf579d7f134d4e83ab21533ad5bda87 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 28 Sep 2024 16:38:19 +0000
Subject: [PATCH] fix: provide default pageTitleSuffix (closes #1452)

---
 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