Skip to content

Commit

Permalink
Updated table styles and test
Browse files Browse the repository at this point in the history
  • Loading branch information
belousovjr committed Mar 14, 2024
1 parent c0594c8 commit a010b4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/components/table.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Table", () => {
expect(customHeader).toBeInTheDocument();

const amountHeader = getByTestId("table-header-1");
const amountHeaderBtn = amountHeader.querySelector("button") as HTMLButtonElement;
const amountHeaderBtn = amountHeader.children[0] as HTMLDivElement;

const tableContent = getByTestId("table-content") as HTMLDivElement;

Expand Down
3 changes: 0 additions & 3 deletions src/components/Table/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ export const TableHeader = styled(Box)`
export const TableHeaderTitleBtn = styled.div<{ active: boolean; clickable: boolean }>`
display: flex;
align-items: center;
border: none;
outline: none;
background: transparent;
padding: 0;
color: ${({ theme, active }) =>
active ? theme.colors.primaryDefault : theme.colors.darkGray}; //styleName: Caption/Regular;
Expand Down

0 comments on commit a010b4e

Please sign in to comment.