From ec2b62d93ebd5a30d5a25a694d41da07c897b9c2 Mon Sep 17 00:00:00 2001 From: boyd91 Date: Mon, 21 Nov 2016 12:02:56 +0100 Subject: [PATCH] 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. --- packages/theme-default/src/checkbox.css | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/theme-default/src/checkbox.css b/packages/theme-default/src/checkbox.css index ca9fadcbf..fe6b6a550 100644 --- a/packages/theme-default/src/checkbox.css +++ b/packages/theme-default/src/checkbox.css @@ -36,6 +36,7 @@ } &::after { + box-sizing: content-box; content: ""; border: 2px solid var(--checkbox-checked-icon-color); border-left: 0;