fix: remove unexpected input underlined border when hover (#52959)

to #52947

Co-authored-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>
This commit is contained in:
ustcfury 2025-02-25 21:41:48 +08:00 committed by GitHub
parent fdf9868c73
commit 21a44eb4a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -406,7 +406,7 @@ const genUnderlinedStatusStyle = (
},
},
[`&${token.componentCls}-status-${options.status}${token.componentCls}-disabled`]: {
borderColor: options.borderColor,
borderColor: `transparent transparent ${options.borderColor} transparent`,
},
});
@ -425,7 +425,7 @@ export const genUnderlinedStyle = (token: InputToken, extraStyles?: CSSObject):
boxShadow: 'none',
cursor: 'not-allowed',
'&:hover': {
borderColor: token.colorBorder,
borderColor: `transparent transparent ${token.colorBorder} transparent`,
},
},