Skip to content

Commit

Permalink
[core] Replace minWidth, maxWidth with width
Browse files Browse the repository at this point in the history
This is the result of a merge conflict. I refactored this in mui#14448
but this PR wasn't merged yet.
  • Loading branch information
oliviertassinari committed Sep 29, 2024
1 parent 50f9889 commit de9002b
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 de9002b

Please sign in to comment.