docs-bug(mat-table): Example suggesting to use max-width to set column width is misleading #29294
Labels
area: material/table
docs
This issue is related to documentation
P4
A relatively minor issue that is not relevant to core functions
Documentation Feedback
The CSS for this example uses the
max-width
property. However, if you expand the page wide enough, it's clear that this CSS rule doesn't do anything in Chrome, as the computed width of the cell is 72, which is longer thanmax-width: 64px
AFAIK, the css
display: table-cell;
does not have amax-width
property. This CSS should be removed to avoid confusion and a better example of how to configure max-width should be given.Affected documentation page
https://material.angular.io/components/table/examples#table-http
The text was updated successfully, but these errors were encountered: