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

InputNumber property width override #16320

Closed
1 task done
lucasbastianik opened this issue Apr 25, 2019 · 1 comment
Closed
1 task done

InputNumber property width override #16320

lucasbastianik opened this issue Apr 25, 2019 · 1 comment
Assignees

Comments

@lucasbastianik
Copy link

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

Reproduction link

https://codepen.io/anon/pen/NmegjP

Steps to reproduce

Just use a InputNumber.

What is expected?

Only one width attribute of .ant-input-number.

What is actually happening?

Have 2 widths: one with 100% and another overriding the first with 90px.

Environment Info
antd 3.16.5
React 16.8.5
System Mac OS
Browser Chrome
@afc163
Copy link
Member

afc163 commented Apr 26, 2019

It is not a bug, we are using less mixin that width has been defined in .input.

@afc163 afc163 closed this as completed Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants