My challenge is creating a material card (mat-card) that occupies all available space on the screen, with scrollable content inside (mat-card-content) because the items within exceed the available space.
I attempted to address this issue using the CSS code below, which sets a fixed height for the content:
.mat-card-content {
height: 620px;
overflow: auto;
}
However, this solution is only partially effective as it limits the flexibility of the design across different screen resolutions. On some screens, it may appear fine while on others there will be significant empty space that could have been utilized.