Wide math scrolls in its own paragraph or display block instead of widening the page; math that fits shows no scrollbar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-03 12:33:16 +02:00
commit 2037f7998c

View file

@ -849,6 +849,17 @@ article > h6 {
margin-top: 0;
}
/* KaTeX does not break inside a formula, so math wider than the column scrolls
in its own paragraph or display block instead of widening the page; math that
fits shows no scrollbar. */
article p:has(.katex),
article .katex-display {
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: thin;
scrollbar-color: var(--gray) transparent;
}
.page > #quartz-body .center > article .gamecult-outtake {
position: relative;
box-sizing: border-box;