diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-07 23:39:24 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-07 23:39:24 -0800 |
| commit | 5e1742a3be5afae155fb37f1c469945d2ee0dffc (patch) | |
| tree | 88b409acb39a566fb7a38f25988d3c27df12f093 /style.css | |
| parent | d8f8ee32a996a4d8b8c1ac252243ae9fe009873e (diff) | |
fix latex block overflow mobile
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -337,9 +337,13 @@ li { margin: 0.3rem 0; } mjx-container[jax="CHTML"] { &[display="true"] { + display: block !important; + min-width: 0 !important; + overflow-y: hidden !important; + overflow-x: auto !important; + background: rgba(212, 163, 115, 0.05); padding: 1.5rem; - text-align: left !important; border-left: 2px solid var(--accent); margin: 2rem 0 !important; @@ -347,10 +351,16 @@ mjx-container[jax="CHTML"] { } &:not([display="true"]) { - padding: 0; - margin: 0; - background: transparent; - border: none; + padding: 0; margin: 0; background: transparent; border: none; + } + + & mjx-mtable { + margin-left: 0 !important; + text-align: left !important; + } + + & mjx-mtd { + text-align: left !important; } } |
