Skip to content

When the input number is set to size="large", there will be more upper and lower padding #5853

@yanbowe

Description

@yanbowe
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.6

Environment

Macos 10.15.7 谷歌浏览器版本 101.0.4951.54(正式版本) (x86_64)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

为input number设置size="large" 且添加前缀prefix 检查元素发现会多出上下6.5px的padding,class为ant-input-number-affix-wrapper-lg

What is expected?

上下padding为0,与input表现一致

What is actually happening?

有上下padding,与input同设置size="large"高度不一致

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions