From d6f16de482a1241f17fecb49f207d03af03414e1 Mon Sep 17 00:00:00 2001 From: Lindokuhle Date: Wed, 3 Jul 2024 10:17:25 +0200 Subject: [PATCH] docs-bug(mat-table): Example suggesting to use max-width to set column 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 #29294 --- .../material/table/table-http/table-http-example.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components-examples/material/table/table-http/table-http-example.css b/src/components-examples/material/table/table-http/table-http-example.css index 1ecd1a098c1d..2f3caee0c42a 100644 --- a/src/components-examples/material/table/table-http/table-http-example.css +++ b/src/components-examples/material/table/table-http/table-http-example.css @@ -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; }