mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: remove unexpected input underlined border when hover (#52959)
to #52947 Co-authored-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>
This commit is contained in:
parent
fdf9868c73
commit
21a44eb4a9
@ -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`,
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user