Skip to content

Commit f2b98d8

Browse files
authored
Show errors for KaTeX and mermaid on the preview tab (#24009)
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. <img width="774" alt="image" src="https://user-images.githubusercontent.com/115237/230738528-322814c1-8994-495e-b901-bbb79b924ccb.png">
1 parent a519aac commit f2b98d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/css/markup/content.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@
541541
}
542542

543543
.markup-block-error {
544+
display: block !important; /* override fomantic .ui.form .error.message {display: none} */
544545
border: 1px solid var(--color-error-border) !important;
545546
margin-bottom: 0 !important;
546547
border-bottom-left-radius: 0 !important;

0 commit comments

Comments
 (0)