From 7c5229c279ee1078ef77077b70c743b564c2df93 Mon Sep 17 00:00:00 2001 From: Andrew Cherniavskyi Date: Wed, 7 Feb 2024 20:50:17 +0100 Subject: [PATCH] set width: unset for tree data grouping cell --- .../x-data-grid/src/components/containers/GridRootStyles.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/x-data-grid/src/components/containers/GridRootStyles.ts b/packages/x-data-grid/src/components/containers/GridRootStyles.ts index ec0a2755e7365..efa21da4ebae6 100644 --- a/packages/x-data-grid/src/components/containers/GridRootStyles.ts +++ b/packages/x-data-grid/src/components/containers/GridRootStyles.ts @@ -240,6 +240,9 @@ export const GridRootStyles = styled('div', { [`& .${c.groupingCriteriaCell}`]: { width: 'unset', }, + [`& .${c.treeDataGroupingCell}`]: { + width: 'unset', + }, }, [`& .${c.columnHeader}, & .${c.cell}`]: { WebkitTapHighlightColor: 'transparent',