diff --git a/src/custom/ResponsiveDataTable.tsx b/src/custom/ResponsiveDataTable.tsx index aa1c51aa..a133ae7f 100644 --- a/src/custom/ResponsiveDataTable.tsx +++ b/src/custom/ResponsiveDataTable.tsx @@ -122,11 +122,12 @@ export const DataTableEllipsisMenu: React.FC<{ const dataTableTheme = (theme: Theme, backgroundColor?: string) => createTheme({ components: { - MUIDataTable: { + MuiPaper: { styleOverrides: { - paper: { + root: { background: backgroundColor || theme.palette.background.default, - maxWidth: '-moz-available' + maxWidth: '-moz-available', + width: '-moz-available' } } },