better css

This commit is contained in:
ryan
2019-03-11 00:45:15 -07:00
parent 91a2307b98
commit 61053ec099
2 changed files with 5 additions and 5 deletions
@@ -212,7 +212,7 @@ export class Table extends Component<Props, State> {
const isHeader = row < 0;
const rowData = isHeader ? data.columns : data.rows[row];
const value = rowData ? rowData[column] : `[${columnIndex}:${rowIndex}]`;
const value = rowData ? rowData[column] : '';
const builder = isHeader ? this.headerBuilder : this.getTableCellBuilder(column);
return (
@@ -277,10 +277,8 @@ export class Table extends Component<Props, State> {
height={height}
fixedColumnCount={fixedColumnCount}
fixedRowCount={fixedRowCount}
classNameTopLeftGrid="gf-table-fixed-row-and-column"
classNameTopRightGrid="gf-table-fixed-row"
classNameTopLeftGrid="gf-table-fixed-column"
classNameBottomLeftGrid="gf-table-fixed-column"
classNameBottomRightGrid="gf-table-normal-cell"
/>
);
}
@@ -66,6 +66,8 @@
.gf-table-cell {
padding: 3px 10px;
background: $page-gradient;
text-overflow: ellipsis;
white-space: nowrap;
@@ -74,5 +76,5 @@
}
.gf-table-fixed-column {
border-right: 1px solid #ccc;
border-right: 1px solid #CCC;
}