Skip to content

Commit 4385116

Browse files
committed
fix: table loader style conflicts
1 parent 2b605da commit 4385116

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/ui/table-loader.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ interface TableLoaderProps {
1212
export function TableLoader({ colSpan = 100, className }: TableLoaderProps) {
1313
return (
1414
<TableRow className={className}>
15-
<TableCell
16-
colSpan={colSpan}
17-
className={cn(
18-
'flex h-48 w-full items-center justify-center text-center',
19-
className
20-
)}
21-
>
22-
<Loader />
15+
<TableCell colSpan={colSpan} className="h-48">
16+
<div
17+
className={cn('flex w-full items-center justify-center', className)}
18+
>
19+
<Loader />
20+
</div>
2321
</TableCell>
2422
</TableRow>
2523
)

0 commit comments

Comments
 (0)