Closed yedajiang44 closed 3 years ago
[https://stackblitz.com/Edit/ng-alain-setup-ezefbb?file=src/app/app.component.ts](https://stackblitz.com/edit/ng-alain-setup-ezefbb? FILE = src / app / app.component.ts)
Open
Effectiveness of the gridization interval by setting NZGUTTER
NZGutter invalid
ENVIRONMENT | INFO |
---|---|
Ng-Zorro-ANTD | 11.4.2 |
Browser | Google Chrome 91.0 |
正确用法
<div nz-row [nzGutter]="[16,16]">
<div
nz-col
nzSpan="8"
*ngFor="let i of [1, 2, 3, 4, 5, 6, 7]"
>
<div style="height: 50px; border: 1px solid red"></div>
</div>
</div>
Reproduction link
https://stackblitz.com/edit/ng-alain-setup-ezefbb?file=src/app/app.component.ts
Steps to reproduce
打开即可
What is expected?
通过设置nzGutter使栅格化间隔生效
What is actually happening?
nzGutter无效