How do we set padding-top to 10px if only model.leaseTransactionDto.wagLeaseLandlordDto length is greater than 1?
What is the correct syntax to conditional set padding based on the length. Thanks.
#sample code
<div *ngFor="let landlord of model.leaseTransactionDto.wagLeaseLandlordDto; let i = index" style="padding-top:10px">
<div class="primary-color" style="text-overflow: ellipsis;overflow-x: hidden;font-size: 12px;" matTooltip="{{landlord.landLordEmail}}" *ngIf="landlord.landLordEmail">{{landlord.landLordEmail}}</div>
</div>