I've got these blocks of codes
<div fxLayout="row" fxLayoutGap="1em" fxLayout.lt-md="column" fxLayoutWrap>
<div *ngFor="let post of posts; let i=index" >
<div *ngIf = "i%3===0" fxFlex="90%" fxFlex.lt-md="100%">
<!--Some code-->
</div>
<div *ngIf = "!(i%3===0)" fxFlex="40%" fxFlex.lt-md="100%">
<!--Some other code-->
</div>
</div>
</div>
I want the stuff to be on the same row when I use fxFlex="40%"
However, they appear on different rows