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.
pull/1260/head
boyd91 2016-11-21 12:02:56 +01:00 committed by cinwell.li
parent 6353d33afe
commit ec2b62d93e
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
} }
&::after { &::after {
box-sizing: content-box;
content: ""; content: "";
border: 2px solid var(--checkbox-checked-icon-color); border: 2px solid var(--checkbox-checked-icon-color);
border-left: 0; border-left: 0;