Ant-design: Fixed width on class "ant-input-number"

Created on 7 Nov 2017  ·  1Comment  ·  Source: ant-design/ant-design

Version

2.13.9

Environment

Any

Reproduction link

https://codepen.io/anon/pen/xPEerv?editors=0010

Steps to reproduce

See code

What is expected?

width is set at 100%

What is actually happening?

width is fixed at 80px

Most helpful comment

It is by designed, try <InputNumber style={{ width: '100%' }} />.

>All comments

It is by designed, try <InputNumber style={{ width: '100%' }} />.

Was this page helpful?
0 / 5 - 0 ratings