aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/ui/table.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/ui/table.tsx')
-rw-r--r--apps/web/components/ui/table.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/web/components/ui/table.tsx b/apps/web/components/ui/table.tsx
index 0fa9288e..95b43b8c 100644
--- a/apps/web/components/ui/table.tsx
+++ b/apps/web/components/ui/table.tsx
@@ -1,5 +1,4 @@
import * as React from "react";
-
import { cn } from "@/lib/utils";
const Table = React.forwardRef<
@@ -43,7 +42,7 @@ const TableFooter = React.forwardRef<
<tfoot
ref={ref}
className={cn(
- "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",
+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
className,
)}
{...props}
@@ -58,7 +57,7 @@ const TableRow = React.forwardRef<
<tr
ref={ref}
className={cn(
- "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
+ "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
className,
)}
{...props}
@@ -73,7 +72,7 @@ const TableHead = React.forwardRef<
<th
ref={ref}
className={cn(
- "text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0",
+ "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
className,
)}
{...props}
@@ -99,7 +98,7 @@ const TableCaption = React.forwardRef<
>(({ className, ...props }, ref) => (
<caption
ref={ref}
- className={cn("text-muted-foreground mt-4 text-sm", className)}
+ className={cn("mt-4 text-sm text-muted-foreground", className)}
{...props}
/>
));