mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18: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.
|
||||
text-indent: 0;
|
||||
|
||||
// Prevent background resetting in Windows's high-contrast mode.
|
||||
-ms-high-contrast-adjust: none !important;
|
||||
// Prevent background resetting on elements in Windows's high-contrast
|
||||
// mode, while still allowing background/foreground setting on root .katex
|
||||
* { -ms-high-contrast-adjust: none !important; }
|
||||
|
||||
.katex-html {
|
||||
// Making .katex inline-block allows line breaks before and after,
|
||||
|
Reference in New Issue
Block a user