-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Fix column separators #12808
Conversation
Deploy preview: https://deploy-preview-12808--material-ui-x.netlify.app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might not be related to this PR, but I observed that that width of last column separator is always less than the rest. Is it known/intentional? Possibly due to overflow: hidden
?
lastColumn.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional, for the reasons listed above.
I noticed that when I needed to set |
I'd rather not add code if there's already a way to do it. |
Co-authored-by: Andrew Cherniavskyi <[email protected]>
Co-authored-by: Andrew Cherniavskyi <[email protected]>
Closes #12788
Closes #12783
Fix column separators, make the separators from their full width. The last column is
overflow: hidden
because otherwise the flex layout is messed up due to the separator sticking out of the row width.Preview: https://deploy-preview-12808--material-ui-x.netlify.app/x/react-data-grid/column-dimensions/