diff --git a/src/DataTable/TableCell.js b/src/DataTable/TableCell.js index 562828fa..481504d3 100644 --- a/src/DataTable/TableCell.js +++ b/src/DataTable/TableCell.js @@ -29,6 +29,8 @@ const TableCellStyle = styled.div` min-height: ${props => props.theme.rows.height}; ${props => props.column.right && 'justify-content: flex-end'}; ${props => props.column.center && 'justify-content: center'}; + padding-top: 3px; + padding-bottom: 3px; padding-left: calc(${props => props.theme.cells.cellPadding} / 2); padding-right: calc(${props => props.theme.cells.cellPadding} / 2); ${props => props.firstCellIndex > 0 && css` diff --git a/src/DataTable/TableCol.js b/src/DataTable/TableCol.js index d07c646e..e43cfed7 100644 --- a/src/DataTable/TableCol.js +++ b/src/DataTable/TableCol.js @@ -56,6 +56,7 @@ const ColumnCellWrapper = styled.div` margin-left: -3px; display: inline-flex; align-items: center; + ${props => props.active && 'font-weight: 800'}; `; const SortIcon = styled.span` @@ -126,7 +127,7 @@ class TableCol extends PureComponent { firstCellIndex={firstCellIndex} > {column.name && - + {sortable && sortIcon && {sortIcon} diff --git a/src/DataTable/__tests__/__snapshots__/TableCell.test.js.snap b/src/DataTable/__tests__/__snapshots__/TableCell.test.js.snap index de4d04ae..73203b30 100644 --- a/src/DataTable/__tests__/__snapshots__/TableCell.test.js.snap +++ b/src/DataTable/__tests__/__snapshots__/TableCell.test.js.snap @@ -23,6 +23,8 @@ exports[`component should render correctly 1`] = ` white-space: nowrap; color: rgba(0,0,0,.87); min-height: 48px; + padding-top: 3px; + padding-bottom: 3px; padding-left: calc(48px / 2); padding-right: calc(48px / 2); }