Skip to content

Commit

Permalink
Add padding to td and th
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Mar 1, 2019
1 parent f1eb1a2 commit 2568f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const Th = styled("th")<{ sortable?: boolean }>(({ theme, sortable }) => ({
"&:first-child": {
paddingLeft: theme.space.small,
},
paddingRight: theme.space.small,
...(sortable
? {
":hover": {
Expand Down Expand Up @@ -100,6 +101,7 @@ const Td = styled("td")<{ cellWidth?: Column<any>["width"] }>(({ theme, cellWidt
"&:first-child": {
paddingLeft: theme.space.small,
},
paddingRight: theme.space.small,
...(cellWidth
? {
width: cellWidth,
Expand Down

0 comments on commit 2568f0f

Please sign in to comment.