- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
Open
Labels
designThis is about UI or UX design, please involve a designer.This is about UI or UX design, please involve a designer.docsImprovements or additions to the documentation.Improvements or additions to the documentation.scope: data gridChanges related to the data grid.Changes related to the data grid.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Related page
https://mui.com/x/react-data-grid/
Kind of issue
Broken demo
Issue description
Almost all DataGrid demos have their top corners cropped—likely due to the demo container border-radius being larger than DataGrid's.
 
 
I think the demos are using the "bg": "inline" variant for demo container, and in addition to the cropped corners, we also have these two borders that feels off:
 
Suggestion
Instead of using the "bg": "inline" variant, start using the "bg": "outlined" (this one), with a padding from the DataGrid and demo container
Search keywords: demo datagrid container border
TheOneTheOnlyJJ
Metadata
Metadata
Assignees
Labels
designThis is about UI or UX design, please involve a designer.This is about UI or UX design, please involve a designer.docsImprovements or additions to the documentation.Improvements or additions to the documentation.scope: data gridChanges related to the data grid.Changes related to the data grid.type: bugIt doesn't behave as expected.It doesn't behave as expected.