Skip to content

Commit 045806b

Browse files
authored
docs(material/table): Example suggesting to use max-width to set column width is misleading (#29373)
The fix is to use the width property instead of max-width since this can be misleading as though the width will never exceed the max-width provided.
1 parent bfa3ac5 commit 045806b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components-examples/material/table/table-http/table-http-example.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ table {
3535
/* Column Widths */
3636
.mat-column-number,
3737
.mat-column-state {
38-
max-width: 64px;
38+
width: 64px;
3939
}
4040

4141
.mat-column-created {
42-
max-width: 124px;
42+
width: 124px;
4343
}

0 commit comments

Comments
 (0)