-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Cant change width of nz-date-picker #1614
Comments
https://stackblitz.com/edit/ng-zorro-antd-setup-tuv9km?file=app/app.component.css |
@wilsoncook the wrapper div should not exist at all. |
@vthinkxie any updates on this? Currently I am manually changing the width of the datepicker like this: nz-date-picker{
width: 100%;
nz-picker{
width: 100%;
display: inline-block;
.ant-calendar-picker{
width: 100%;
}
}
} |
+same problem |
cc @wenqi73 |
It is not working for me? |
Version
0.7.1
Environment
Windows 10 64bit, Chrome 66, ng-zorro 0.7.1
Reproduction link
https://ng-zorro-antd-setup-zkxsjw.stackblitz.io
Steps to reproduce
Change width of nz-date-picker to 100%
What is expected?
nz-date-picker should stretch to fill parent width, like nz-input-number and nz-select etc.
What is actually happening?
nz-date-picker keep a fixed width, 174px in test
Other?
The text was updated successfully, but these errors were encountered: