Skip to content

Commit 924ed74

Browse files
committed
Update table
1 parent 2971419 commit 924ed74

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/ui/table.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ function TableBody({ className, ...props }: React.ComponentProps<"tbody">) {
3333
return (
3434
<tbody
3535
data-slot="table-body"
36-
className={cn("[&_tr:last-child]:border-0", className)}
3736
{...props}
3837
/>
3938
)
@@ -70,7 +69,7 @@ function TableHead({ className, ...props }: React.ComponentProps<"th">) {
7069
<th
7170
data-slot="table-head"
7271
className={cn(
73-
"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
72+
"text-foreground h-12 px-4 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
7473
className
7574
)}
7675
{...props}
@@ -83,7 +82,7 @@ function TableCell({ className, ...props }: React.ComponentProps<"td">) {
8382
<td
8483
data-slot="table-cell"
8584
className={cn(
86-
"p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
85+
"p-4 align-top whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
8786
className
8887
)}
8988
{...props}

0 commit comments

Comments
 (0)