From bb24cd13c7fafbd42d3980c45351a58a76dabb18 Mon Sep 17 00:00:00 2001
From: 1 gal Rosemary <cerasusyedoensis@proton.me>
Date: Sat, 05 Apr 2025 17:39:28 +0000
Subject: [PATCH] fix(css): styles issues with popover, overflow, and scroll overflow (#1907)

---
 quartz/styles/base.scss |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 022e9b5..16383d5 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -65,11 +65,18 @@
   }
 }
 
-article > mjx-container.MathJax {
-  display: flex;
-  > svg {
-    margin-left: auto;
-    margin-right: auto;
+article {
+  > mjx-container.MathJax,
+  blockquote > div > mjx-container.MathJax {
+    display: flex;
+    > svg {
+      margin-left: auto;
+      margin-right: auto;
+    }
+  }
+  blockquote > div > mjx-container.MathJax > svg {
+    margin-top: 1rem;
+    margin-bottom: 1rem;
   }
 }
 
@@ -554,7 +561,6 @@
 }
 
 div:has(> .overflow) {
-  display: flex;
   max-height: 100%;
   overflow-y: hidden;
 }

--
Gitblit v1.10.0