Skip to content

Commit 8c94a83

Browse files
committed
fix: ui table tailwind classes
1 parent c59156d commit 8c94a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/client/src/components/ui/table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
5858
<th
5959
data-slot="table-head"
6060
className={cn(
61-
'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
61+
'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 *:[[role=checkbox]]:translate-y-0.5',
6262
className,
6363
)}
6464
{...props}
@@ -71,7 +71,7 @@ function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
7171
<td
7272
data-slot="table-cell"
7373
className={cn(
74-
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
74+
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 *:[[role=checkbox]]:translate-y-0.5',
7575
className,
7676
)}
7777
{...props}

0 commit comments

Comments
 (0)