This example demonstrates how the mat-cell
s are styled with a specific width:
.mat-cell {
white-space: nowrap;
min-width: 150rem;
}
If the width is not specified, the table will cut off the text due to the white-space
property being set to nowrap
. Is there a way for the mat-cell
to automatically adjust its size based on content without defining a fixed width?