mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Fix high contrast mode better, thanks to @GeeLaw (#733)
This commit is contained in:
committed by
Kevin Barabash
parent
60b1969a01
commit
eaa7f3a17d
@@ -22,8 +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.
|
// Prevent background resetting on elements in Windows's high-contrast
|
||||||
-ms-high-contrast-adjust: none !important;
|
// mode, while still allowing background/foreground setting on root .katex
|
||||||
|
* { -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,
|
||||||
|
Reference in New Issue
Block a user