Skip to content

Commit

Permalink
Merge pull request #102 from ECN/update-itemtable-borders-for-darkmode
Browse files Browse the repository at this point in the history
Change TableCell border color according to theme type
  • Loading branch information
campb303 authored Oct 29, 2020
2 parents e3f6b53 + 9a6f781 commit 51bb16f
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 51bb16f

Please sign in to comment.