Skip to content

Commit f30b3de

Browse files
committed
refactor(ui): align uptime latency chart
1 parent 4de551a commit f30b3de

2 files changed

Lines changed: 130 additions & 127 deletions

File tree

packages/ui/src/lib/uptime/latency-chart-chunk-placeholder.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ import { Skeleton } from "../../components/skeleton";
33
/** Same footprint as collapsed LatencyChart row — use with next/dynamic loading to avoid CLS */
44
export function LatencyChartChunkPlaceholder() {
55
return (
6-
<div className="border-border border-t">
6+
<div>
77
<div
88
aria-hidden
9-
className="flex min-h-10 items-center gap-3 px-4 py-2.5 sm:px-6"
9+
className="mt-1.5 flex min-h-11 items-center gap-2 rounded-lg px-2 py-2"
1010
>
11-
<Skeleton className="h-3 w-32 rounded" />
12-
<Skeleton className="h-3 w-14 rounded" />
13-
<Skeleton className="h-3 w-14 rounded" />
14-
<div className="ml-auto size-3 shrink-0 rounded bg-muted" />
11+
<Skeleton className="size-6 rounded-full" />
12+
<Skeleton className="h-4 w-28 rounded" />
13+
<div className="ml-auto flex items-center gap-1.5">
14+
<Skeleton className="h-4 w-16 rounded-full" />
15+
<Skeleton className="h-4 w-16 rounded-full" />
16+
</div>
17+
<Skeleton className="size-3 shrink-0 rounded" />
1518
</div>
1619
</div>
1720
);

0 commit comments

Comments
 (0)