From e482fa10970fd6a0c1c0ec836db84ba4187bc8f7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 06 Apr 2023 22:06:01 +0000
Subject: [PATCH] fix: graph and tooltip sometimes not showing
---
assets/styles/syntax.scss | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/assets/styles/syntax.scss b/assets/styles/syntax.scss
index fbea72a..6267f5c 100644
--- a/assets/styles/syntax.scss
+++ b/assets/styles/syntax.scss
@@ -45,7 +45,7 @@
}
.chroma code {
- font-family: 'Fira Code' !important;
+ font-family: var(--font-mono) !important;
font-size: 0.85em !important;
line-height: 2em !important;
background: none !important;
@@ -56,3 +56,11 @@
border-radius: 3px !important;
margin: 0 !important;
}
+
+pre.chroma {
+ -moz-tab-size:4;-o-tab-size:4;tab-size:4;
+}
+
+.katex {
+ font-size: 1.1em !important;
+}
--
Gitblit v1.10.0