Skip to content

Commit

Permalink
fix: mathematics cannot scroll horizontally (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Mar 1, 2023
1 parent 7e6c667 commit 4681df7
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 4681df7

Please sign in to comment.