Skip to content

Commit

Permalink
[core] Replace minWidth, maxWidth with width (#14776)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 30, 2024
1 parent 0f0a7ec commit 51d0b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/components/cell/GridCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ const GridCell = React.forwardRef<HTMLDivElement, GridCellProps>(function GridCe
<div
data-colindex={colIndex}
role="presentation"
style={{ ...style, minWidth: 'var(--width)', maxWidth: 'var(--width)' }}
style={{ width: 'var(--width)', ...style }}
/>
);
}
Expand Down

0 comments on commit 51d0b3a

Please sign in to comment.