fix: linebreaks in equations

This commit is contained in:
Matthias Jung
2026-01-08 10:34:05 +04:00
parent 75af765790
commit 3f26c73863
+15
View File
@@ -416,3 +416,18 @@ span.formula {
.answers button:nth-child(4):before {
content: "D:";
}
/* Enable Line Breaks in Equations ... */
.course .katex-display > .katex {
white-space: normal
}
/* Add space between broken lines: */
.course .katex-display .base {
margin: 0.5em 0em
}
/* Compensate by reducing space around display math */
.course .katex-display {
margin: 1em 0em;
}