add items per page

This commit is contained in:
NotII
2025-03-06 01:19:13 +00:00
parent df58540053
commit a5b0551b02
2 changed files with 200 additions and 151 deletions

View File

@@ -9,7 +9,7 @@ const Table = React.forwardRef<
<div className="relative w-full overflow-auto">
<table
ref={ref}
className={cn("w-full caption-bottom text-sm", className)}
className={cn("w-full caption-bottom text-sm border-collapse", className)}
{...props}
/>
</div>
@@ -58,7 +58,7 @@ const TableRow = React.forwardRef<
<tr
ref={ref}
className={cn(
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
"transition-colors hover:bg-muted/20 data-[state=selected]:bg-muted",
className
)}
{...props}