chore: update Skeleton component styles
This commit is contained in:
parent
4434f1900d
commit
de7e87e5b8
@ -102,11 +102,11 @@ export default function CreditsBalanceCard() {
|
|||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="space-y-4 flex-1">
|
<CardContent className="space-y-4 flex-1">
|
||||||
<div className="flex items-center justify-start space-x-4">
|
<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>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
<CardFooter className="px-6 py-4 flex justify-between items-center bg-muted rounded-none">
|
<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>
|
</CardFooter>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
@ -4,7 +4,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
data-slot="skeleton"
|
data-slot="skeleton"
|
||||||
className={cn("bg-accent animate-pulse rounded-md", className)}
|
className={cn("bg-muted animate-pulse rounded-md", className)}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user