Skip to content

Commit

Permalink
chore: table header
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Jan 6, 2025
1 parent 6ed6749 commit ae56d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/blade/src/components/Table/TableHeader.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ const StyledHeaderCell = styled(HeaderCell)<{
$textAlign: 'left' | 'center' | 'right';
}>(({ theme, $isSortable, $backgroundColor, $rowDensity, $hasPadding, $textAlign }) => ({
'&&&': {
display: $textAlign ? 'flex' : 'block',
justifyContent: $textAlign ? 'space-between' : 'initial',
height: '100%',
backgroundColor: getIn(theme.colors, $backgroundColor),
borderBottomWidth: makeSpace(getIn(theme.border.width, tableHeader.borderBottomAndTopWidth)),
Expand Down

0 comments on commit ae56d35

Please sign in to comment.