Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
yanbowe opened this issue Jul 27, 2022 · 1 comment · Fixed by #5873
Closed
1 task
Assignees
Labels
Accept You are right, we should do that bug outdated

Comments

@yanbowe
Copy link

yanbowe commented Jul 27, 2022

  • 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"高度不一致

@github-actions github-actions bot changed the title input number 设置size="large" 时会多出上下padding When the input number is set to size="large", there will be more upper and lower padding Jul 27, 2022
@tangjinzhou tangjinzhou added bug Accept You are right, we should do that labels Jul 28, 2022
@tangjinzhou tangjinzhou self-assigned this Jul 28, 2022
@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that bug outdated
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants