fix: radio should work in tree (#44380)

* fix: radio should work in tree

* chore: code clean
This commit is contained in:
MadCcc 2023-08-24 09:47:24 +08:00 committed by GitHub
parent 79825c06ed
commit e91f927784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,14 +223,7 @@ const getRadioBasicStyle: GenerateStyle<RadioToken> = (token) => {
[`${componentCls}-input`]: {
position: 'absolute',
insetBlockStart: 0,
insetInlineEnd: 0,
insetBlockEnd: 0,
insetInlineStart: 0,
width: 0,
height: 0,
padding: 0,
margin: 0,
inset: 0,
zIndex: 1,
cursor: 'pointer',
opacity: 0,