From b33f13ccaf4ec14a94ee0ee467dda04cf4981d00 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 01 Jan 2024 22:20:34 +0000
Subject: [PATCH] fix: dont show last page if folder

---
 quartz/components/styles/popover.scss |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 2bc1af1..fae0e12 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -24,7 +24,7 @@
     position: relative;
     width: 30rem;
     max-height: 20rem;
-    padding: 0 1rem 2rem 1rem;
+    padding: 0 1rem 1rem 1rem;
     font-weight: initial;
     line-height: normal;
     font-size: initial;
@@ -32,8 +32,9 @@
     border: 1px solid var(--lightgray);
     background-color: var(--light);
     border-radius: 5px;
-    box-shadow: 6px 6px 36px 0 rgba(0,0,0,0.25);
+    box-shadow: 6px 6px 36px 0 rgba(0, 0, 0, 0.25);
     overflow: auto;
+    white-space: normal;
   }
 
   h1 {
@@ -42,14 +43,17 @@
 
   visibility: hidden;
   opacity: 0;
-  transition: opacity 0.3s ease, visibility 0.3s ease;
+  transition:
+    opacity 0.3s ease,
+    visibility 0.3s ease;
 
   @media all and (max-width: $mobileBreakpoint) {
     display: none !important;
   }
 }
 
-a:hover .popover, .popover:hover {
+a:hover .popover,
+.popover:hover {
   animation: dropin 0.3s ease;
   animation-fill-mode: forwards;
   animation-delay: 0.2s;

--
Gitblit v1.10.0