From 5cca1d9737fffd96c724dc6641d5fe3ef20032fb Mon Sep 17 00:00:00 2001 From: Bilal Shafi Date: Tue, 30 Jan 2024 20:54:14 +0500 Subject: [PATCH] [DataGrid] Make columns management' casing consistent (#11858) --- .../components/columnsManagement/GridColumnsManagement.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/grid/x-data-grid/src/components/columnsManagement/GridColumnsManagement.tsx b/packages/grid/x-data-grid/src/components/columnsManagement/GridColumnsManagement.tsx index a08a9563cbef..46466367bb02 100644 --- a/packages/grid/x-data-grid/src/components/columnsManagement/GridColumnsManagement.tsx +++ b/packages/grid/x-data-grid/src/components/columnsManagement/GridColumnsManagement.tsx @@ -266,12 +266,10 @@ function GridColumnsManagement(props: GridColumnsManagementProps) { indeterminate={!allHideableColumnsVisible && !allHideableColumnsHidden} onClick={() => toggleAllColumns(!allHideableColumnsVisible)} name={apiRef.current.getLocaleText('columnsManagementShowHideAllText')} + sx={{ p: 0.5 }} {...rootProps.slotProps?.baseCheckbox} /> } - sx={{ - [`.MuiFormControlLabel-label`]: { textTransform: 'uppercase', fontSize: '14px' }, - }} label={apiRef.current.getLocaleText('columnsManagementShowHideAllText')} /> ) : ( @@ -361,7 +359,7 @@ const GridColumnsManagementFooter = styled('div', { slot: 'ColumnsManagementFooter', overridesResolver: (props, styles) => styles.columnsManagementFooter, })<{ ownerState: OwnerState }>(({ theme }) => ({ - padding: theme.spacing(0.5, 1, 0.5, 2.4), + padding: theme.spacing(0.5, 1, 0.5, 3), display: 'flex', justifyContent: 'space-between', borderTop: `1px solid ${theme.palette.divider}`,