Skip to content

Commit 2549e7b

Browse files
committed
ui- table improvements
1 parent fcfdf40 commit 2549e7b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/client/src/pages/DataView360/DataView360.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ const customStyles = theme => ({
3131
width: '100%',
3232
},
3333
table: {
34-
minWidth: 700,
34+
minWidth: 700
3535
},
3636
headerCell: {
37-
fontWeight: "bold"
37+
fontWeight: "bold",
38+
minWidth: 60,
39+
backgroundColor: "#A9A9A9"
3840
},
3941
container: {
4042
maxHeight: 600,
@@ -74,7 +76,7 @@ class DataView360 extends Component {
7476

7577
renderParticipantsTable() {
7678
const {classes} = this.props;
77-
const tableRowColors = ["#a3ddcb", "#e8e9a1", "#e6b566", "#e5707e", "#00af91"]
79+
const tableRowColors = ["#FFFFFF", "#E8E8E8"]
7880

7981
let participantListGrouped = _.groupBy(this.state.participantList, "matching_id");
8082
participantListGrouped = _.reverse(_.sortBy(participantListGrouped, matching_group => {
@@ -84,7 +86,7 @@ class DataView360 extends Component {
8486
return (
8587
<Paper className={classes.tableCard}>
8688
<TableContainer className={classes.container}>
87-
<Table className={classes.table} stickyHeader aria-label="sticky table">
89+
<Table className={classes.table} size="small" stickyHeader aria-label="sticky table">
8890
<TableHead>
8991
<TableRow>
9092
<TableCell align="left" className={classes.headerCell}>Match ID</TableCell>

0 commit comments

Comments
 (0)