Skip to content

Commit

Permalink
docs-bug(mat-table): Example suggesting to use max-width to set colum…
Browse files Browse the repository at this point in the history
…n width is misleading

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.

Fixes angular#29294
  • Loading branch information
lindoRR-07 committed Jul 3, 2024
1 parent 6659d8f commit d921ad8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ table {
/* Column Widths */
.mat-column-number,
.mat-column-state {
max-width: 64px;
width: 64px;
}

.mat-column-created {
max-width: 124px;
width: 124px;
}

0 comments on commit d921ad8

Please sign in to comment.