0👍
hey you can add br tag
<ng-container *ngFor="let division of categoryTotalData.divisions">
<div class="category-tag">
<div class="cat-item division" [ngStyle]="setBgColor(division.name)">
<app-sales-by-category-total [month]="categoryTotalData.months" [division]="division"></app-sales-by-category-total>
</div>
</div>
</br>
</ng-container>
0👍
This is due to ViewEncapsulation. In order to change the view of child you need to use ng-deep pseudo-class
app-sales-by-category-total ::ng-deep {
table {
// Style goes here
}
}
Source:stackexchange.com