From 8089b5576628d5a1b7865c74f956e1a7ae9d7f15 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Tue, 16 Jul 2019 17:18:50 +0800 Subject: [PATCH] fix(checkbox): border overlay when checked --- styles/Checkbox.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/Checkbox.scss b/styles/Checkbox.scss index 2c900c05a..66aaf57fa 100644 --- a/styles/Checkbox.scss +++ b/styles/Checkbox.scss @@ -45,6 +45,7 @@ &.n-checkbox--checked { .n-checkbox__checkbox { background-color: $checkbox-background--active; + box-shadow: inset 0 0 0 1px $checkbox-border-color--active; &::after { opacity: 1; transform: rotate(45deg) scale(1);