mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
💄 STYLE: wrong text color & cursor when Radio is disabled (#40273)
This commit is contained in:
parent
e13c8ad877
commit
65c6d5717d
@ -105,6 +105,7 @@ const getRadioBasicStyle: GenerateStyle<RadioToken> = (token) => {
|
|||||||
|
|
||||||
'&-disabled': {
|
'&-disabled': {
|
||||||
cursor: 'not-allowed',
|
cursor: 'not-allowed',
|
||||||
|
color: token.colorTextDisabled,
|
||||||
},
|
},
|
||||||
|
|
||||||
'&::after': {
|
'&::after': {
|
||||||
@ -227,7 +228,7 @@ const getRadioBasicStyle: GenerateStyle<RadioToken> = (token) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
'&-input': {
|
[`${componentCls}-input`]: {
|
||||||
cursor: 'not-allowed',
|
cursor: 'not-allowed',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user