Support Windows high-contrast mode. Fix #716

This commit is contained in:
Erik Demaine
2017-06-10 12:58:32 -04:00
parent 9913242245
commit a564c0aeef

View File

@@ -22,6 +22,9 @@
// Protect elements inside .katex from inheriting text-indent.
text-indent: 0;
// Prevent background resetting in Windows's high-contrast mode.
-ms-high-contrast-adjust: none !important;
.katex-html {
// Making .katex inline-block allows line breaks before and after,
// which is undesireable ("to $x$,"). Instead, adjust the .katex-html