Commit ec2b62d9 authored by boyd91's avatar boyd91 Committed by cinwell.li

Add box-sizing: content-box for compatibility (#1229)

Some CSS resets (including Bootstrap's) contain *::after{ box-sizing: border-box; }

This breaks the checkbox component style. Therefor add box-sizing: content-box explicitly to increase compatibility.
parent 6353d33a
......@@ -36,6 +36,7 @@
}
&::after {
box-sizing: content-box;
content: "";
border: 2px solid var(--checkbox-checked-icon-color);
border-left: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment