From 270accc322cdb00bfc0ddaf19b92cb80a74879b2 Mon Sep 17 00:00:00 2001 From: QuentinHsu Date: Mon, 20 Jul 2026 18:04:05 +0800 Subject: [PATCH] perf(data-table): optimize action column width allocation (#6135) - apply a minimum width hint to content-sized columns to prevent wasted space. - preserve remaining table width allocation across regular data columns. --- web/src/components/data-table/core/data-table-colgroup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/data-table/core/data-table-colgroup.tsx b/web/src/components/data-table/core/data-table-colgroup.tsx index 8cda18cb..c3fb7f45 100644 --- a/web/src/components/data-table/core/data-table-colgroup.tsx +++ b/web/src/components/data-table/core/data-table-colgroup.tsx @@ -54,7 +54,7 @@ function getColumnWidth( totalSize: number ) { if (isContentSizedColumn(columnId)) { - return undefined + return '1%' } if (table.options.enableColumnResizing === true) {