remove dead code, fix mobile regeression
This commit is contained in:
1 parent
3e56dc63a9
commit
13e49c518d
2 files changed
+2
-6
No files matched your search
@@ -108,8 +108,8 @@ export function DataTable<
|
|||||||
borderColor: theme.palette.divider,
|
borderColor: theme.palette.divider,
|
||||||
borderRadius: theme.shape.borderRadius,
|
borderRadius: theme.shape.borderRadius,
|
||||||
padding: theme.spacing(LAYOUT.XS),
|
padding: theme.spacing(LAYOUT.XS),
|
||||||
cursor: isInteractive ? "pointer" : "default",
|
cursor: onRowClick ? "pointer" : "default",
|
||||||
...(isInteractive && {
|
...(onRowClick && {
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: theme.palette.action.rowHover,
|
backgroundColor: theme.palette.action.rowHover,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,10 +17,6 @@ declare module "@mui/material/styles" {
|
|||||||
rowHover: string;
|
rowHover: string;
|
||||||
controlHover: string;
|
controlHover: string;
|
||||||
}
|
}
|
||||||
interface TypeActionOptions {
|
|
||||||
rowHover?: string;
|
|
||||||
controlHover?: string;
|
|
||||||
}
|
|
||||||
interface Palette {
|
interface Palette {
|
||||||
sidebar: { accent: string };
|
sidebar: { accent: string };
|
||||||
rowStatus: { running: string; paused: string };
|
rowStatus: { running: string; paused: string };
|
||||||
|
|||||||
Reference in new issue
Block a user