From 2b10eebed8ba9eac88e7eadb2f3781059059c7d1 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sun, 9 Apr 2023 08:48:28 -0400 Subject: [PATCH] Show errors for KaTeX and mermaid on the preview tab (#24009) (#24019) Backport #24009 by @silverwind There is a conflicting fomantic rule that hid the error messages inside the markdown preview tab for things like mermaid or katex. Overruled it to always show these errors. image Co-authored-by: silverwind --- web_src/css/markup/content.css | 1 + 1 file changed, 1 insertion(+) diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index 00283dd0a2..b87383bca8 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -540,6 +540,7 @@ } .markup-block-error { + display: block !important; /* override fomantic .ui.form .error.message {display: none} */ border: 1px solid var(--color-error-border) !important; margin-bottom: 0 !important; border-bottom-left-radius: 0 !important;