mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Merge pull request #724 from edemaine/highcontrast
Support Windows high-contrast mode. Fix #716
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
// Protect elements inside .katex from inheriting text-indent.
|
// Protect elements inside .katex from inheriting text-indent.
|
||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
|
|
||||||
|
// Prevent background resetting in Windows's high-contrast mode.
|
||||||
|
-ms-high-contrast-adjust: none !important;
|
||||||
|
|
||||||
.katex-html {
|
.katex-html {
|
||||||
// Making .katex inline-block allows line breaks before and after,
|
// Making .katex inline-block allows line breaks before and after,
|
||||||
// which is undesireable ("to $x$,"). Instead, adjust the .katex-html
|
// which is undesireable ("to $x$,"). Instead, adjust the .katex-html
|
||||||
|
Reference in New Issue
Block a user