fix: Vertical alignment of clear icon in Input (#51700)

This commit is contained in:
jynxio 2024-11-20 09:52:08 +08:00 committed by GitHub
parent 556e8e821c
commit 579d1723a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -421,6 +421,7 @@ const genAllowClearStyle = (token: InputToken): CSSObject => {
// ========================= Input =========================
[`${componentCls}-clear-icon`]: {
margin: 0,
lineHeight: 0,
color: token.colorTextQuaternary,
fontSize: token.fontSizeIcon,
verticalAlign: -1,