mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix: Select underlined height (#55607)
Co-authored-by: furyzhao <furyzhao@tencent.com>
This commit is contained in:
@@ -242,20 +242,20 @@ const genBaseUnderlinedStyle = (
|
||||
|
||||
return {
|
||||
[`&:not(${componentCls}-customize-input) ${componentCls}-selector`]: {
|
||||
borderWidth: `0 0 ${unit(token.lineWidth)} 0`,
|
||||
borderStyle: `none none ${token.lineType} none`,
|
||||
borderColor: options.borderColor,
|
||||
borderWidth: `${unit(token.lineWidth)} 0`,
|
||||
borderStyle: `${token.lineType} none`,
|
||||
borderColor: `transparent transparent ${options.borderColor} transparent`,
|
||||
background: token.selectorBg,
|
||||
borderRadius: 0,
|
||||
},
|
||||
[`&:not(${componentCls}-disabled):not(${componentCls}-customize-input):not(${antCls}-pagination-size-changer)`]:
|
||||
{
|
||||
[`&:hover ${componentCls}-selector`]: {
|
||||
borderColor: options.hoverBorderHover,
|
||||
borderColor: `transparent transparent ${options.hoverBorderHover} transparent`,
|
||||
},
|
||||
|
||||
[`${componentCls}-focused& ${componentCls}-selector`]: {
|
||||
borderColor: options.activeBorderColor,
|
||||
borderColor: `transparent transparent ${options.activeBorderColor} transparent`,
|
||||
outline: 0,
|
||||
},
|
||||
[`${componentCls}-prefix`]: {
|
||||
|
||||
Reference in New Issue
Block a user