membuat kartu matras

.mat-card.scrollable-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mat-card.scrollable-content > .mat-card-title-group {
  display: block;
}

.mat-card.scrollable-content > .mat-card-content {
  overflow-y: auto;
}

<!-- add this in the html -->
<mat-card class="scrollable-content">
</mat-card>
serhii.nahornyi