我正在动态创建列集合,如下所示:
<div *ngFor="let col of colList">
<corp-column [xs]="'12'" [sm]="'6'">
<div class="tile tile-default">
<div class="tile-heading">
<strong style="margin-right:5px">{{col.header}}</strong>
</div>
<hr style="margin-left: 20px; margin-right: 20px">
<div class="tile-body">
<div *ngFor="let b of col.body">
<p>{{b}}</p>
</div>
</div>
</div>
</corp-column>
</div>
但是,每列的高度可以变化。如下图所示:
https://s3.us-east-2.amazonaws.com/woohoo-stack/Capture.PNG
如何使每个“行”的高度与邻居的高度相同?