fix: add overflowX hidden to table cells to prevent horizontal scrollbar
This commit is contained in:
1 parent
c7aa45cd77
commit
8f58ceafab
1 file changed
+1
@@ -173,6 +173,7 @@ export function DataTable<
|
|||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
padding: `${theme.spacing(7)} ${theme.spacing(8)}`,
|
padding: `${theme.spacing(7)} ${theme.spacing(8)}`,
|
||||||
fontSize: theme.typography.fontSize,
|
fontSize: theme.typography.fontSize,
|
||||||
|
overflowX: "hidden",
|
||||||
},
|
},
|
||||||
"& .MuiTableBody-root .MuiTableRow-root:last-child .MuiTableCell-root": {
|
"& .MuiTableBody-root .MuiTableRow-root:last-child .MuiTableCell-root": {
|
||||||
borderBottom: "none",
|
borderBottom: "none",
|
||||||
|
|||||||
Reference in new issue
Block a user