Skip to content

Commit

Permalink
fix: Top align table cells in TextContent
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Jul 21, 2020
1 parent 9f8d141 commit 46889b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/TextContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ const TextContent = styled.div`
border-bottom: 1px solid ${p => p.theme.colors.border};
padding: calc(${p => p.theme.blockMarginBottom} / 2);
}
& td {
vertical-align: top;
}
& th:first-of-type,
& td:first-of-type {
padding-left: 0;
Expand Down

0 comments on commit 46889b3

Please sign in to comment.