Protect fraction bars from CSS border-color (#2292)

This commit is contained in:
Ron Kok
2020-07-10 10:16:39 -07:00
committed by GitHub
parent 507d8f7e32
commit 48dff183b5

View File

@@ -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 {