mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
\fbox inherits default color (#1847)
Merge `.fbox` and `.fcolorbox` rules to inherit default color, instead of forcing `black`. We no longer have any explicit `black` in CSS. Fix #1772.
This commit is contained in:
committed by
Kevin Barabash
parent
7f778d1543
commit
23958337a2
@@ -542,14 +542,10 @@
|
|||||||
padding: 0 0.3em 0 0.3em; // \fboxsep = 3pt
|
padding: 0 0.3em 0 0.3em; // \fboxsep = 3pt
|
||||||
}
|
}
|
||||||
|
|
||||||
.fbox {
|
.fbox,
|
||||||
box-sizing: border-box;
|
|
||||||
border: 0.04em solid black; // \fboxrule = 0.4pt
|
|
||||||
}
|
|
||||||
|
|
||||||
.fcolorbox {
|
.fcolorbox {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 0.04em solid; // \fboxrule = 0.4pt
|
border: 0.04em solid; // \fboxrule = 0.4pt
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancel-pad {
|
.cancel-pad {
|
||||||
|
Reference in New Issue
Block a user