From 7d4bed64a98e0ef982b98e9b755fead7c06855c5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 28 Dec 2024 23:17:58 +0000
Subject: [PATCH] fix(css): allow proper width on code block title (closes #1683)
---
quartz/styles/base.scss | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 34d7e40..78f4ce7 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -85,7 +85,7 @@
line-height: 1.4rem;
&:has(> img) {
- background-color: none;
+ background-color: transparent;
border-radius: 0;
padding: 0;
}
@@ -388,7 +388,6 @@
font-size: 0.9rem;
padding: 0.1rem 0.5rem;
border: 1px solid var(--lightgray);
- width: max-content;
border-radius: 5px;
margin-bottom: -0.5rem;
color: var(--darkgray);
@@ -587,3 +586,14 @@
width: 100%;
border-radius: 5px;
}
+
+.navigation-progress {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 0;
+ height: 3px;
+ background: var(--secondary);
+ transition: width 0.2s ease;
+ z-index: 9999;
+}
--
Gitblit v1.10.0