@devries-cameron20 / t3code Mirror · read-only / commits / 8287f2c3a7
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 15:15 UTC

fix(web): align usage page skeleton layout (#8111)

Tristan Knight committed Aug 24, 2026 at 22:32 UTC 8287f2c3a771f4a88f781e9c98830692b186c5c3
1 file changed +14 -10
apps/web/src/components/usage/UsagePage.tsx
+14 -10
@@ -212,7 +212,7 @@ export function UsagePage() {
212 staleEnvironments={merged.staleEnvironments}
213 />
214
215 - <section className="grid gap-6 lg:grid-cols-[minmax(0,16rem)_minmax(0,1fr)]">
215 + <section className="grid gap-6 lg:grid-cols-[minmax(0,18rem)_minmax(0,1fr)]">
216 <div className="flex min-w-0 flex-col gap-5">
217 <div className="flex flex-col gap-1">
218 <span className="text-4xl font-semibold text-foreground tabular-nums">
@@ -582,7 +582,7 @@ function UsageDeviceStrip({
582 function UsageSkeleton() {
583 return (
584 <>
585 - <section className="grid gap-6 lg:grid-cols-[minmax(0,16rem)_minmax(0,1fr)]">
585 + <section className="grid gap-6 lg:grid-cols-[minmax(0,18rem)_minmax(0,1fr)]">
586 <div className="flex flex-col gap-5">
587 <div className="flex flex-col gap-1">
588 <div className="h-10 w-36 rounded-sm bg-muted" />
@@ -592,12 +592,8 @@ function UsageSkeleton() {
592 <div key={provider} className="flex flex-col gap-1">
593 <div className="flex min-h-5 items-center justify-between gap-4">
594 <span className="flex items-center gap-2">
595 - <span
596 - aria-hidden
597 - className="size-2 shrink-0 rounded-full"
598 - style={{ backgroundColor: PROVIDER_PRESENTATION[provider].color }}
599 - />
600 - <ProviderMark provider={provider} className="size-4" />
595 + <span className="size-2 shrink-0 rounded-full bg-muted" />
596 + <span className="size-4 shrink-0 rounded-full bg-muted" />
597 <div className="h-3.5 w-20 rounded-sm bg-muted" />
598 </span>
599 <div className="h-3.5 w-14 rounded-sm bg-muted" />
@@ -611,7 +607,7 @@ function UsageSkeleton() {
607 <div className="h-5 w-24 rounded-sm bg-muted" />
608 <div className="flex flex-col gap-1">
609 <div className="ml-16 h-56 rounded-sm bg-muted/35" />
614 - <div className="ml-16 h-3 rounded-sm bg-muted/35" />
610 + <div className="ml-16 h-4 rounded-sm bg-muted/35" />
611 </div>
612 </div>
613 </section>
@@ -623,12 +619,20 @@ function UsageSkeleton() {
619 (label) => (
620 <div key={label} className="flex flex-col gap-0.5">
621 <span className="text-xs text-muted-foreground">{label}</span>
626 - <div className="my-0.5 h-4 w-16 rounded-sm bg-muted" />
622 + <div className="h-6 w-16 rounded-sm bg-muted" />
623 </div>
624 ),
625 )}
626 </div>
627 </section>
628 +
629 + <section className="flex flex-col gap-3">
630 + <div className="flex items-center justify-between gap-3">
631 + <h2 className="text-sm font-medium text-foreground">Breakdown</h2>
632 + <div className="h-7 w-28 rounded-lg bg-input/40" />
633 + </div>
634 + <div className="h-44 rounded-sm bg-muted/35" />
635 + </section>
636 </>
637 );
638 }