💄 STYLE: wrong text color & cursor when Radio is disabled (#40273)

This commit is contained in:
Danial Soheili 2023-01-16 18:48:56 +03:30 committed by GitHub
parent e13c8ad877
commit 65c6d5717d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,7 @@ const getRadioBasicStyle: GenerateStyle<RadioToken> = (token) => {
'&-disabled': {
cursor: 'not-allowed',
color: token.colorTextDisabled,
},
'&::after': {
@ -227,7 +228,7 @@ const getRadioBasicStyle: GenerateStyle<RadioToken> = (token) => {
},
},
'&-input': {
[`${componentCls}-input`]: {
cursor: 'not-allowed',
},