From 6fe8a8a070458f8091162a6360dedb6f788e1fae Mon Sep 17 00:00:00 2001 From: Maximilian Date: Wed, 26 Apr 2023 15:29:23 +0200 Subject: [PATCH] fix: the thick border is only supposed to get used on checked state --- source/_patterns/01-elements/radio/radio.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/_patterns/01-elements/radio/radio.scss b/source/_patterns/01-elements/radio/radio.scss index faf7c5d25b..b94e29dc92 100644 --- a/source/_patterns/01-elements/radio/radio.scss +++ b/source/_patterns/01-elements/radio/radio.scss @@ -31,9 +31,7 @@ background-color: rgba(40, 45, 55, 0.3); } - &:checked, - &:invalid, - &[aria-invalid="true"] { + &:checked { border-width: to-em($pxValue: 6); } // * the invalid style using the :invalid pseudo class (and [aria-invalid="true"] equivalent, see #136 and #141)