Skip to content

Commit ae56d35

Browse files
committed
chore: table header
1 parent 6ed6749 commit ae56d35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/blade/src/components/Table/TableHeader.web.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ const StyledHeaderCell = styled(HeaderCell)<{
9999
$textAlign: 'left' | 'center' | 'right';
100100
}>(({ theme, $isSortable, $backgroundColor, $rowDensity, $hasPadding, $textAlign }) => ({
101101
'&&&': {
102+
display: $textAlign ? 'flex' : 'block',
103+
justifyContent: $textAlign ? 'space-between' : 'initial',
102104
height: '100%',
103105
backgroundColor: getIn(theme.colors, $backgroundColor),
104106
borderBottomWidth: makeSpace(getIn(theme.border.width, tableHeader.borderBottomAndTopWidth)),

0 commit comments

Comments
 (0)