Currently, I am working on an Angular application and here is a snippet of my code:
https://stackblitz.com/edit/angular-mat-card-example-57kjum?file=src%2Fapp%2Fapp.component.html
Within the application, I have multiple cards. One of them is a single mat-card, while the rest are generated dynamically based on the data in an array. The issue I'm encountering is that the dynamically generated cards, using *ngFor, are starting below the first card. What I want is for the first card to appear at the top, followed by the dynamically generated cards in close proximity to it. If there is no space left on the first line, then the cards should move to the second line, and so on. It seems like I may have made an error in structuring the layout in terms of columns and rows. Can anyone provide guidance on how to achieve this layout?