Keep answer math in its frame and its case

A display formula wider than the column scrolls in its own box, as code
and tables do, and a formula in a table header is not uppercased: n and N
are different variables.
This commit is contained in:
arc53-machine committed 2026-09-28 13:21:28 +01:00
1 parent 845e39969e
commit c0c587de81
1 file changed
+15
@@ -9,3 +9,18 @@
.list li > .list {
margin-top: 0.5em;
}
/* A display formula wider than the answer column scrolls in its own box, as
fenced code and tables do, rather than pushing the column sideways. The
padding keeps tall symbols clear of the clipped edge. */
.answer :global(.katex-display) {
overflow-x: auto;
overflow-y: hidden;
padding-block: 0.25em;
}
/* Table headers are set in capitals, but a formula keeps its case: `n` and
`N` are different variables. */
.answer thead :global(.katex) {
text-transform: none;
}