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

RangePicker会默认添加min-width样式 #4920

Closed
xiaosansiji opened this issue Feb 17, 2017 · 2 comments
Closed

RangePicker会默认添加min-width样式 #4920

xiaosansiji opened this issue Feb 17, 2017 · 2 comments

Comments

@xiaosansiji
Copy link

发生问题的环境是:

antd 版本: 2.6.4
操作系统及其版本: Windows 7
浏览器及其版本: Chrome 53.0.2785.89
您做了什么?请提供尽可能详细的重现步骤。

引入RangePicker,通过设置样式改变组件宽度:
image

您期待的结果是:

可以通过设置样式改变RangePicker组件宽度

实际上的结果是:
image

在浏览器中,会自动增加一个行内样式:min-width: 300px;
不是很清楚这里是什么情况

@afc163
Copy link
Member

afc163 commented Feb 17, 2017

Added in b912f1c#diff-34c1c9d6622f2b32f87f4de9a64f099bR139

Maybe I can change another way to set default width.

@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants