From 24348b24a94c5f9ca285642b751e6798b92eedd9 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 20 Jun 2023 05:50:25 +0000
Subject: [PATCH] fix: parsing wikilinks that have codeblock anchors, scroll to anchor

---
 quartz/components/styles/popover.scss |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 0006292..f95dc7b 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -19,10 +19,13 @@
   padding: 1rem;
 
   & > .popover-inner {
+    position: relative;
     width: 30rem;
     height: 20rem;
     padding: 0 1rem 1rem 1rem;
     font-weight: initial;
+    line-height: initial;
+    font-size: initial;
     border: 1px solid var(--gray);
     background-color: var(--light);
     border-radius: 5px;
@@ -30,6 +33,10 @@
     overflow: scroll;
   }
 
+  h1 {
+    font-size: 1.5rem;
+  }
+
   visibility: hidden;
   opacity: 0;
   transition: opacity 0.3s ease, visibility 0.3s ease;

--
Gitblit v1.10.0