Skip to content

Commit

Permalink
style(uikit): Update cell alignment (#228)
Browse files Browse the repository at this point in the history
* style(uikit): Update cell alignment

* style: Remove border only from table body
  • Loading branch information
hachiojidev authored Aug 9, 2021
1 parent 9065d78 commit 2856ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/pancake-uikit/src/components/Table/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const Td = styled.td<TypographyProps>`
border-bottom: 1px solid ${({ theme }) => theme.colors.cardBorder};
color: ${({ theme }) => theme.colors.text};
padding: 16px;
vertical-align: middle;
${typography}
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/pancake-uikit/src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Table = styled.table`
max-width: 100%;
width: 100%;
tr:last-child {
tbody tr:last-child {
${Td} {
border-bottom: 0;
}
Expand Down

0 comments on commit 2856ed9

Please sign in to comment.