style: tight table design

This commit is contained in:
zhom
2025-11-26 01:42:33 +04:00
parent 35ba7e2d96
commit c7c910d1ca
3 changed files with 61 additions and 38 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ function TableHead({ className, ...props }: React.ComponentProps<"th">) {
<th
data-slot="table-head"
className={cn(
"px-2 h-10 font-medium text-left align-middle whitespace-nowrap text-foreground",
"px-2 h-8 font-medium text-left align-middle whitespace-nowrap text-foreground",
className,
)}
{...props}
@@ -79,7 +79,7 @@ function TableCell({ className, ...props }: React.ComponentProps<"td">) {
return (
<td
data-slot="table-cell"
className={cn("p-2 align-middle whitespace-nowrap", className)}
className={cn("px-2 py-1 align-middle whitespace-nowrap", className)}
{...props}
/>
);