summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-08 00:17:27 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-08 00:17:27 -0800
commit69dbf05a50c1c8668cea938c13f8f2c7fadddcc7 (patch)
tree1507575bd3c8fecbb844f65949f659e6233530d2 /style.css
parentddd67489f291db60e6eead35a77b84a91f9aaa37 (diff)
parent5c40bc887a74718f5b16f604fa133d120a9c096c (diff)
Merge branch 'chore/perfect-css'
Diffstat (limited to 'style.css')
-rw-r--r--style.css20
1 files changed, 15 insertions, 5 deletions
diff --git a/style.css b/style.css
index bda5c63..88760b4 100644
--- a/style.css
+++ b/style.css
@@ -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;
}
}