mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-15 07:48:41 +00:00
Protect fraction bars from CSS border-color (#2292)
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
// Prevent a rendering bug that misplaces \vec in Chrome.
|
||||
text-rendering: auto;
|
||||
|
||||
// Insulate fraction bars and rules from CSS that sets border-color.
|
||||
border-color: currentColor;
|
||||
|
||||
// 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; }
|
||||
@@ -570,7 +573,6 @@
|
||||
.fcolorbox {
|
||||
box-sizing: border-box;
|
||||
border: 0.04em solid; // \fboxrule = 0.4pt
|
||||
border-color: inherit;
|
||||
}
|
||||
|
||||
.cancel-pad {
|
||||
|
Reference in New Issue
Block a user