We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbcbdc commit 34d8bc2Copy full SHA for 34d8bc2
1 file changed
frontend/src/components/dashboard/dashboard-view.tsx
@@ -108,11 +108,13 @@ const SIDEBAR_ITEMS: SidebarItem[] = [
108
/** Shimmer card used as a placeholder while data loads */
109
function SkeletonCard({ className = "" }: { className?: string }) {
110
return (
111
- <div className={`relative overflow-hidden rounded-2xl ${className}`} aria-hidden="true">
112
- <Skeleton className="w-full h-full" />
+ <Skeleton
+ className={`rounded-2xl relative overflow-hidden ${className}`}
113
+ aria-hidden="true"
114
+ >
115
{/* shimmer sweep */}
116
<div className="absolute inset-0 -translate-x-full animate-shimmer bg-gradient-to-r from-transparent via-white/10 to-transparent" />
- </div>
117
+ </Skeleton>
118
);
119
}
120
0 commit comments