fix: update TableHeader class for improved styling and visibility

This commit is contained in:
Yoga Pangestu 2026-08-01 01:48:07 +07:00
parent e92a4cfbcf
commit e6a376d021

View File

@ -21,7 +21,7 @@ function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {
return ( return (
<thead <thead
data-slot="table-header" data-slot="table-header"
className={cn("[&_tr]:border-b", className)} className={cn("[&_tr]:border-b bg-primary text-primary-foreground", className)}
{...props} {...props}
/> />
) )