]> zackmdavis.net Git - An_Algorithmic_Lucidity.git/commitdiff
math overflow fix (feat. Claude Code)
authorZack M. Davis <code@zackmdavis.net>
Wed, 15 Jul 2026 18:16:51 +0000 (11:16 -0700)
committerZack M. Davis <code@zackmdavis.net>
Wed, 15 Jul 2026 18:16:51 +0000 (11:16 -0700)
theme/static/css/style.css

index 6375fb384aaba03a68e1c8d975aa43bdd2bb4378..69077abdea0694627df646e2c788b3c5e52ccb83 100644 (file)
@@ -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;