Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/src/components/ui/table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Table = React.forwardRef(({ className, ...props }, ref) => (
Table.displayName = "Table"

const TableHeader = React.forwardRef(({ className, ...props }, ref) => (
<thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
<thead ref={ref} className={cn("[&_tr]:border-b [&_tr]:border-border/40", className)} {...props} />
))
TableHeader.displayName = "TableHeader"

Expand All @@ -28,7 +28,7 @@ TableBody.displayName = "TableBody"
const TableFooter = React.forwardRef(({ className, ...props }, ref) => (
<tfoot
ref={ref}
className={cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className)}
className={cn("border-t border-border/40 bg-muted/50 font-medium [&>tr]:last:border-b-0", className)}
{...props} />
))
TableFooter.displayName = "TableFooter"
Expand All @@ -37,7 +37,7 @@ const TableRow = React.forwardRef(({ className, ...props }, ref) => (
<tr
ref={ref}
className={cn(
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
"border-b border-border/40 transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
className
)}
{...props} />
Expand Down