From db27557aa307921cf035b7f62d9d9f2b452b1018 Mon Sep 17 00:00:00 2001
From: Md Jawad Noor Asif <jawad.asif.bd@gmail.com>
Date: Thu, 30 Mar 2023 11:14:06 +0000
Subject: [PATCH] fix: search highlight not showing because for trailing slash (#306)
---
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