Skip to content

Commit

Permalink
fix: Input.Search 1px smaller then Input
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jan 27, 2024
1 parent 25eda83 commit d0dd45d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/input/style/index.ts
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 d0dd45d

Please sign in to comment.