Skip to content

Commit

Permalink
feat(tablekit-core): update padding to new styling and fix other visu…
Browse files Browse the repository at this point in the history
…al issues
  • Loading branch information
k-baldauf committed Feb 7, 2024
1 parent c1078c9 commit 851e6c7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions system/core/src/components/Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const className = 'table';
export interface Props {}

export const baseStyles = css`
text-align: left;
text-align: start;
border-spacing: 0;
border-collapse: separate;
border: 1px solid var(--border);
Expand All @@ -34,10 +34,10 @@ export const baseStyles = css`
& th,
& td {
vertical-align: middle;
vertical-align: baseline;
white-space: nowrap;
overflow: hidden;
padding: 18px var(--spacing-l5);
padding: var(--spacing-l4);
}
& th {
Expand Down Expand Up @@ -68,8 +68,4 @@ export const baseStyles = css`
& tfoot:not(:last-child) {
border-bottom: 1px solid var(--border);
}
&[aria-hidden='true'] {
display: none;
}
`;

0 comments on commit 851e6c7

Please sign in to comment.