fix: Input.Search 1px smaller then Input (#47193)

This commit is contained in:
afc163 2024-01-27 23:18:51 +08:00 committed by GitHub
parent 57d8ae8fce
commit 201f1fc789
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -678,6 +678,8 @@ const genSearchInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
border: 0,
[`${searchPrefixCls}-button`]: {
// Fix https://github.com/ant-design/ant-design/issues/47150
marginInlineEnd: -1,
paddingTop: 0,
paddingBottom: 0,
borderStartStartRadius: 0,