Is there a more efficient way to distribute a fixed number of cards with fixed dimensions in three rows?
Currently, I am manually coding all 33 cards spread across 3 rows - 11 cards per row. Please excuse any mistakes in my code as I am still a beginner and learning. Any assistance would be greatly appreciated. Thank you in advance! :)
My HTML includes details on how the cards are displayed. The Angular component is provided for reference.
import { Component } from '@angular/core';
import { map } from 'rxjs/operators';
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
@Component({
selector: 'app-agvdashboard',
templateUrl: './agvdashboard.component.html',
styleUrls: ['./agvdashboard.component.css'],
})
export class AgvdashboardComponent {
/** Switches from standard layout to one column per row based on screen size */
constructor(){}
}
...