From e13f2925d5e370f8431502242a77bb695d1efe78 Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Wed, 15 Jul 2026 11:16:51 -0700 Subject: [PATCH] math overflow fix (feat. Claude Code) --- theme/static/css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/theme/static/css/style.css b/theme/static/css/style.css index 6375fb3..69077ab 100644 --- a/theme/static/css/style.css +++ b/theme/static/css/style.css @@ -225,6 +225,15 @@ header h1 a:hover { background: #f7f7f7; } +/* MathJax v2's linebreak_automatic is off (perf tradeoff upstream), so long + display-math expressions need a scroll fallback instead of breaking layout. */ +.post-content div.math, +.post-content .MathJax_Display, +.post-content .MathJax { + overflow-x: auto; + overflow-y: hidden; +} + .post-content code { font-family: Consolas, Monaco, monospace; font-size: 13px; -- 2.53.0