We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc1bf58 + 1ed17c4 commit 61d8ae2Copy full SHA for 61d8ae2
1 file changed
src/css/equation.css
@@ -26,9 +26,10 @@
26
margin-bottom: 25px;
27
}
28
29
-/* Equation container must be block with containment to prevent
30
- KaTeX content from inflating page width on narrow viewports */
31
-.equation-container {
+/* Block equation container must be block with containment to prevent
+ KaTeX content from inflating page width on narrow viewports.
+ Scoped to div to preserve inline flow for span-based inline equations. */
32
+div.equation-container {
33
display: block;
34
max-width: 100%;
35
overflow: hidden;
0 commit comments