Skip to content

Commit 3100a3e

Browse files
photodowjoshblack
authored andcommitted
fix(radio): fix the radio disable state when checked (#2195)
1 parent ccebbfc commit 3100a3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/radio-button/_radio-button.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@
210210
.#{$prefix}--radio-button:disabled + .#{$prefix}--radio-button__label .#{$prefix}--radio-button__appearance,
211211
.#{$prefix}--radio-button:disabled:checked + .#{$prefix}--radio-button__label .#{$prefix}--radio-button__appearance {
212212
border-color: $disabled;
213+
214+
&::before {
215+
background-color: $disabled;
216+
}
213217
}
214218

215219
// Focus

0 commit comments

Comments
 (0)