From 21190255137e37d1f023205b11489953b3b3257a Mon Sep 17 00:00:00 2001
From: Stephen Tse <Stephen-X@users.noreply.github.com>
Date: Mon, 31 Mar 2025 00:35:20 +0000
Subject: [PATCH] fix(toc): Fixed headers in second ToC element not highlight-able
---
quartz/components/styles/popover.scss | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index b1694f9..872045a 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -36,6 +36,8 @@
box-shadow: 6px 6px 36px 0 rgba(0, 0, 0, 0.25);
overflow: auto;
white-space: normal;
+ user-select: none;
+ cursor: default;
}
& > .popover-inner[data-content-type] {
@@ -70,7 +72,7 @@
opacity 0.3s ease,
visibility 0.3s ease;
- @media all and (max-width: $mobileBreakpoint) {
+ @media all and ($mobile) {
display: none !important;
}
}
--
Gitblit v1.10.0