1 file changed, +6, -0
ce18373Scroll the text around a formula that's too wide
author
mogi <git@paramogi.world> on 30-11-2026 03:14 UTC
committer
mogi <git@paramogi.world> on 30-11-2026 03:14 UTC
parent7ecdbaf
style.css
+6, -0
+6, -0
        @@ -2361,6 +2361,12 @@ math:not([display="block"]) {
23612361   white-space: nowrap;
23622362 }
23632363 
    2364+.markdown-body :is(p, h1, h2, h3, h4, h5, h6):has(math),
    2365+.markdown-body :is(ul, ol):has(> li > math, > li > :not(ul, ol, p) > math),
    2366+.footnotes li:has(math) {
    2367+  overflow: auto hidden;
    2368+}
    2369+
23642370 mtext .math-core-sans-serif-font {
23652371   font-family: sans-serif;
23662372 }