💄 Style: add MathJax overflow styles

This commit is contained in:
Cell
2025-06-30 14:15:40 +08:00
parent 89f9373bae
commit 3408f1596a
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -492,7 +492,7 @@
}
}
// Katex styles
// KaTeX styles
.katex-display {
max-width: 100%;
overflow-x: auto;
@@ -505,6 +505,13 @@
@include border-radius($global-border-radius);
}
// MathJax styles
mjx-container[jax='CHTML'][display='true'] {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
}
@import '../_partials/_single/alert';
@import '../_partials/_single/code';
@import '../_shortcodes';
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.21-fb4f1f73" -}}
{{- .Scratch.Set "version" "v0.3.21-89f9373b" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}