Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit527c8430fdc896011b99576df721622cf981c2df (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-08-29 20:13:45 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-08-29 20:13:45 +0300
Filesf96df45350d080a9acf67f3a8e976c20e303ebb1 /src/styles.css
syndamia.com-527c8430fdc896011b99576df721622cf981c2df.tar
syndamia.com-527c8430fdc896011b99576df721622cf981c2df.tar.gz
syndamia.com-527c8430fdc896011b99576df721622cf981c2df.zip
Parent6cb4f49d44c9ed7abe10355047da42600d444b5e (diff)
[styles/syntax-highlighting] Fixed submatches in comments being shown
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/styles.css1
diff --git a/src/styles.css b/src/styles.css
index fe11c8d..bed8e60 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -494,6 +494,7 @@ dt, dd {
/* Syntax highlighting */
.HI-comment { color: var(--hi-comment); }
+.HI-comment * { color: inherit; } /* If text inside a comment is matched, don't show it */
.HI-const { color: var(--hi-const); }
.HI-string { color: var(--hi-string); }
.HI-char { color: var(--hi-char); }