[DataGrid] Demo containers #13981
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
design
This is about UI or UX design, please involve a designer
docs
Improvements or additions to the documentation
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 theDataGrid
and demo containerSearch keywords: demo datagrid container border
The text was updated successfully, but these errors were encountered: