From 6d49d975598cd7f48e2b7347c2b83d8aac6a2f56 Mon Sep 17 00:00:00 2001
From: Aswanth <aswanth366@gmail.com>
Date: Sat, 24 May 2025 04:55:07 +0000
Subject: [PATCH] fix(analytics): streamline posthog script loading and event capturing (#1974)
---
quartz/styles/base.scss | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 022e9b5..3ed9e63 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;
}
}
@@ -231,6 +238,7 @@
padding: 0;
& > * {
flex: 1;
+ max-height: 24rem;
}
& > .toc {
display: none;
@@ -554,7 +562,6 @@
}
div:has(> .overflow) {
- display: flex;
max-height: 100%;
overflow-y: hidden;
}
@@ -571,7 +578,7 @@
clear: both;
& > li.overflow-end {
- height: 1rem;
+ height: 0.5rem;
margin: 0;
}
@@ -587,6 +594,7 @@
}
.katex-display {
+ display: initial;
overflow-x: auto;
overflow-y: hidden;
}
--
Gitblit v1.10.0