Skip to content

Commit

Permalink
fix: mathematics cannot scroll horizontally (cotes2020#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 authored and gudtldn committed Jul 26, 2024
1 parent 7a5c95e commit a2dafe9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ blockquote {
@include prompt("danger", "\f071");
}

mjx-container {
overflow-x: auto;
overflow-y: hidden;
}

kbd {
font-family: inherit;
display: inline-block;
Expand Down Expand Up @@ -679,6 +674,12 @@ figure .mfp-title {
text-align: center;
}

/* MathJax */
mjx-container {
overflow-y: hidden;
min-width: auto !important;
}

/* --- sidebar layout --- */

$sidebar-display: "sidebar-display";
Expand Down

0 comments on commit a2dafe9

Please sign in to comment.