Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP-QuickLaTeXで表示される数式のうちで、長いものを横スクロールできるようにするためのpatch。
--- quicklatex-format.css.ORG 2017-11-19 15:59:10.197954451 +0900
+++ quicklatex-format.css 2017-11-19 16:36:40.229951065 +0900
@@ -19,7 +19,7 @@
padding:0px !important;
margin:0px !important;
vertical-align:middle !important;
- display:inline-block !important;
+ display:inline-block !important;
}
/* Style for <img> tag of tikZ images */
@@ -34,21 +34,21 @@
.ql-center-displayed-equation {
text-align:center !important;
white-space: nowrap !important;
- overflow:hidden !important;
+ overflow:auto !important;
}
/* Style for <p> tag of displayed equation - align: left */
.ql-left-displayed-equation {
text-align:left !important;
white-space: nowrap !important;
- overflow:hidden !important;
+ overflow:auto !important;
}
/* Style for <p> tag of displayed equation - align: right */
.ql-right-displayed-equation {
text-align:right !important;
white-space: nowrap !important;
- overflow:hidden !important;
+ overflow:auto !important;
}
/* Equation numbering - align: left */
@@ -90,4 +90,4 @@
border:none;
padding:0px;
margin:0px;
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.