fix Firefox LaTeX rendering (#5258)
This commit is contained in:
parent
1b0add0318
commit
3168a4c9ae
@ -1040,13 +1040,14 @@ does not extend the close button beyond the viewport. */
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Math/Katex formatting to prevent duplication of content on screen */
|
/* KaTeX overrides - base CSS imported via markdown-katex.js plugin */
|
||||||
.katex-html[aria-hidden="true"] {
|
.katex-display {
|
||||||
display: none;
|
margin: 0 !important;
|
||||||
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.katex-mathml {
|
.katex-display > .katex {
|
||||||
font-size: 20px;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rti--container {
|
.rti--container {
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
import katex from "katex";
|
import katex from "katex";
|
||||||
|
import "katex/dist/katex.min.css";
|
||||||
|
|
||||||
// Test if potential opening or closing delimieter
|
// Test if potential opening or closing delimieter
|
||||||
// Assumes that there is a "$" at state.src[pos]
|
// Assumes that there is a "$" at state.src[pos]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user