NG-ZORRO/ng-zorro-antd








<nz-form-control> in <nz-form-item nzGutter> should generated correct padding #2479
wheeljs posted onGitHub
Version
1.8.0
Environment
Windows 10 Chrome 70.0.3538.102(正式版本) (64 位) ng-zorro-antd@1.8.0
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-z14eiy?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
<nz-form-item nzGutter="8">
<nz-form-control nzSpan="10">
<nz-form-text>Col 10 In Form</nz-form-text>
</nz-form-control>
</nz-form-item>
What is expected?
<nz-form-control>
get correct style padding-left: 4px; padding-right: 4px
, like [nz-col]
in [nz-row]
.
What is actually happening?
<nz-form-control>
has no style, but <nz-form-item>
generated margin style.
Other?
<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->