테이블 헤더 고정 및 선택 시 text bold 처리

This commit is contained in:
leedj312
2025-04-16 11:07:54 +09:00
parent a5c3405049
commit 42b6dfc616
2 changed files with 4 additions and 4 deletions
@@ -29,7 +29,7 @@ const TableHeader = React.forwardRef<
HTMLTableSectionElement,
React.HTMLAttributes<HTMLTableSectionElement>
>(({ className, ...props }, ref) => (
<thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
<thead ref={ref} className={cn("sticky top-0 bg-secondary [&_tr]:border-b", className)} {...props} />
));
TableHeader.displayName = "TableHeader";