Skip to content

Commit

Permalink
fix: Input.Search 1px smaller then Input (#47193)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and MadCcc committed Jan 29, 2024
1 parent c64d9cc commit b5d8c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/input/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b5d8c66

Please sign in to comment.