Skip to content

Commit

Permalink
[rc] fix: TableHead alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinMJ committed Dec 6, 2024
1 parent e84f26e commit 3d0444a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/genesys/packages/react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@peersyst/react-components",
"author": "Peersyst",
"version": "3.9.44",
"version": "3.9.45",
"license": "MIT",
"main": "./src/index.tsx",
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,17 @@ export const TableHeaderTitle = styled.span<TableHeaderTitleProps>(
white-space: nowrap;
text-overflow: ellipsis;
text-align: ${alignment};
width: 100%;
`,
);

export const TableHeaderSortButtonContainer = styled.div<TableHeaderSortButtonContainerProps>(
({ isSorted }) => css`
display: flex;
opacity: ${isSorted ? "1" : "0"}};
width: ${isSorted ? "auto" : "0px"};
transition: opacity 200ms;
`,
display: flex;
opacity: ${isSorted ? "1" : "0"};
width: ${isSorted ? "auto" : "0px"};
transition: opacity 200ms;
`,
);

export const TableSortButton = styled(IconButton)<TableSortButtonProps>(
Expand Down

0 comments on commit 3d0444a

Please sign in to comment.