Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
fix: table head cell vertical position
Browse files Browse the repository at this point in the history
  • Loading branch information
tatinacher committed Jun 21, 2021
1 parent 68a4569 commit 60dd90d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/atoms/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export const Tbody = styled.tbody`
`;

export const Th = styled.th`
display: flex;
align-items: center;
box-sizing: border-box;
max-width: var(--local-cell-max-width);
padding: var(--local-vertical) var(--local-horizontal);
Expand All @@ -38,6 +40,7 @@ export const Th = styled.th`
`;

export const Td = styled.td`
display: flex;
box-sizing: border-box;
max-width: var(--local-cell-max-width);
padding: var(--local-vertical) var(--local-horizontal);
Expand Down

0 comments on commit 60dd90d

Please sign in to comment.