Skip to content

Commit

Permalink
Change TableCell border color according to theme type
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 29, 2020
1 parent e3f6b53 commit 9a6f781
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ItemTable/ItemTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export default function ItemTable({ data, onRowClick }) {
},
},
columnBorders: {
borderLeft: `1px solid ${theme.palette.grey[300]}`
borderLeftWidth: "1px",
borderLeftStyle: "solid",
borderColor: theme.palette.type === "light" ? theme.palette.grey[300] : theme.palette.grey[500]
}
});
const classes = useStyles();
Expand Down

0 comments on commit 9a6f781

Please sign in to comment.