Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Created November 20, 2017 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandanote-info/eff3404181957d61552dbfd767006d76 to your computer and use it in GitHub Desktop.
Save pandanote-info/eff3404181957d61552dbfd767006d76 to your computer and use it in GitHub Desktop.
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