diff --git a/src/Table/Table.tsx b/src/Table/Table.tsx index 257d566f9..dcf26913e 100644 --- a/src/Table/Table.tsx +++ b/src/Table/Table.tsx @@ -71,6 +71,7 @@ const Th = styled("th")<{ sortable?: boolean }>(({ theme, sortable }) => ({ "&:first-child": { paddingLeft: theme.space.small, }, + paddingRight: theme.space.small, ...(sortable ? { ":hover": { @@ -100,6 +101,7 @@ const Td = styled("td")<{ cellWidth?: Column["width"] }>(({ theme, cellWidt "&:first-child": { paddingLeft: theme.space.small, }, + paddingRight: theme.space.small, ...(cellWidth ? { width: cellWidth, diff --git a/src/Table/__tests__/__snapshots__/Table.test.tsx.snap b/src/Table/__tests__/__snapshots__/Table.test.tsx.snap index b60c97bd8..31a388c8f 100644 --- a/src/Table/__tests__/__snapshots__/Table.test.tsx.snap +++ b/src/Table/__tests__/__snapshots__/Table.test.tsx.snap @@ -22,7 +22,7 @@ exports[`Table Component Should render 1`] = ` class="css-16kb41" > There are no records available