diff --git a/packages/x-data-grid/src/components/panel/GridPanel.tsx b/packages/x-data-grid/src/components/panel/GridPanel.tsx index b6f5496095149..a169fd4ea6c1b 100644 --- a/packages/x-data-grid/src/components/panel/GridPanel.tsx +++ b/packages/x-data-grid/src/components/panel/GridPanel.tsx @@ -51,6 +51,8 @@ const GridPaperRoot = styled(Paper, { minWidth: 300, maxHeight: 450, display: 'flex', + maxWidth: `calc(100vw - ${theme.spacing(0.5)})`, + overflow: 'auto', })); const GridPanel = React.forwardRef((props, ref) => {