Browse Source

style: fix large Input size (#38664)

* style: fix large Input size

close #38659

* Update components/input/style/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: MadCcc <1075746765@qq.com>
pull/38668/head
afc163 2 years ago
committed by GitHub
parent
commit
8d59e84446
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/input/style/index.tsx

2
components/input/style/index.tsx

@ -752,7 +752,7 @@ const genSearchInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
// fix slight height diff in Firefox:
// https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category
[`${componentCls}-lg`]: {
lineHeight: token.lineHeight - 0.0002,
lineHeight: token.lineHeightLG - 0.0002,
},
[`> ${componentCls}-group`]: {

Loading…
Cancel
Save