From b0112852ffcd9f2230aaf472f04c7380d7891d74 Mon Sep 17 00:00:00 2001 From: Oliver Bryan <04oliverbryan@gmail.com> Date: Sun, 14 Dec 2025 21:35:31 +0000 Subject: [PATCH] much more compact table --- packages/frontend/src/components/ui/table.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/ui/table.tsx b/packages/frontend/src/components/ui/table.tsx index bba5453..27bee51 100644 --- a/packages/frontend/src/components/ui/table.tsx +++ b/packages/frontend/src/components/ui/table.tsx @@ -39,7 +39,7 @@ function TableRow({ ) { [role=checkbox]]:translate-y-[2px]", + "text-foreground px-2 h-[24px] text-left text-sm align-middle font-medium", + "whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className, )} {...props} @@ -66,7 +67,7 @@ function TableCell({ className, ...props }: React.ComponentProps<"td">) { [role=checkbox]]:translate-y-[2px]", + "px-2 py-1 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className, )} {...props}