chore: update Skeleton component styles

This commit is contained in:
javayhu 2025-08-27 00:35:00 +08:00
parent 4434f1900d
commit de7e87e5b8
2 changed files with 3 additions and 3 deletions

View File

@ -102,11 +102,11 @@ export default function CreditsBalanceCard() {
</CardHeader>
<CardContent className="space-y-4 flex-1">
<div className="flex items-center justify-start space-x-4">
<Skeleton className="h-8 w-1/5" />
<Skeleton className="h-9 w-1/5" />
</div>
</CardContent>
<CardFooter className="px-6 py-4 flex justify-between items-center bg-muted rounded-none">
<Skeleton className="h-6 w-3/5" />
<Skeleton className="h-4 w-3/5" />
</CardFooter>
</Card>
);

View File

@ -4,7 +4,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="skeleton"
className={cn("bg-accent animate-pulse rounded-md", className)}
className={cn("bg-muted animate-pulse rounded-md", className)}
{...props}
/>
)