Math scroll guard: one rule for every block that holds math #20
Loading…
Reference in a new issue
No description provided.
Delete branch "void/math-scroll-all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extends the guard from
article p:has(.katex)/.katex-displayto p, li, h1-h6, th, td (:has(.katex)), as one rule; drops the duplicateoverflow-x:autoon the ritual-paper.katex-display(the global rule already applies).Verified (Edge on Starfire, site build, injected unbreakable
\sqrt{...}formula of 120 terms in p, li, h2, plus a narrow formula): p scrollW 5909/clientW 1006, li 5909/966, h2 8274/1006 at 1100px; same at 492px (headless minimum); narrow formula and a plain li do not scroll. Page overflow equals the no-math baseline (15 at 492, 56 at 1100, a headless-viewport artifact), so the math adds none. List markers are not drawn by the site styles, so overflow on li clips nothing visible.Note: ordinary inline math wraps at operators and never scrolls; only unbreakable formulas do.
🤖 Generated with Claude Code