File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ const TableCellStyle = styled.div`
2929 min-height: ${ props => props . theme . rows . height } ;
3030 ${ props => props . column . right && 'justify-content: flex-end' } ;
3131 ${ props => props . column . center && 'justify-content: center' } ;
32+ padding-top: 3px;
33+ padding-bottom: 3px;
3234 padding-left: calc(${ props => props . theme . cells . cellPadding } / 2);
3335 padding-right: calc(${ props => props . theme . cells . cellPadding } / 2);
3436 ${ props => props . firstCellIndex > 0 && css `
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const ColumnCellWrapper = styled.div`
5656 margin-left: -3px;
5757 display: inline-flex;
5858 align-items: center;
59+ ${ props => props . active && 'font-weight: 800' } ;
5960` ;
6061
6162const SortIcon = styled . span `
@@ -126,7 +127,7 @@ class TableCol extends PureComponent {
126127 firstCellIndex = { firstCellIndex }
127128 >
128129 { column . name &&
129- < ColumnCellWrapper >
130+ < ColumnCellWrapper active = { sortable } >
130131 { sortable && sortIcon &&
131132 < SortIcon className = { sortDirection === 'asc' ? 'asc' : 'desc' } >
132133 { sortIcon }
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ exports[`component <TableCell /> should render correctly 1`] = `
2323 white - space : nowrap ;
2424 color : rgba (0 ,0 ,0 ,.87 );
2525 min - height : 48px ;
26+ padding - top : 3px ;
27+ padding - bottom : 3px ;
2628 padding - left : calc (48px / 2 );
2729 padding - right : calc (48px / 2 );
2830}
You can’t perform that action at this time.
0 commit comments