fix: mathematics cannot scroll horizontally (#760)

This commit is contained in:
Cotes Chung 2023-03-02 05:16:18 +08:00
parent 7e6c667e7a
commit 4681df7151
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
1 changed files with 6 additions and 5 deletions

View File

@ -159,11 +159,6 @@ blockquote {
@include prompt("danger", "\f071"); @include prompt("danger", "\f071");
} }
mjx-container {
overflow-x: auto;
overflow-y: hidden;
}
kbd { kbd {
font-family: inherit; font-family: inherit;
display: inline-block; display: inline-block;
@ -679,6 +674,12 @@ figure .mfp-title {
text-align: center; text-align: center;
} }
/* MathJax */
mjx-container {
overflow-y: hidden;
min-width: auto !important;
}
/* --- sidebar layout --- */ /* --- sidebar layout --- */
$sidebar-display: "sidebar-display"; $sidebar-display: "sidebar-display";