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:
parent
9bc6d4e63b
commit
2037f7998c
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue