The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: improve tooltips for usage breakdowns (#19662)
Kevin Grüneberg590e74fd1e38
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsxindex 61892131b54..591da335219 100644--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx@@ -125,8 +125,8 @@ const BillingMetric = ({<Tooltip.Portal><Tooltip.Content side="bottom"><Tooltip.Arrow className="radix-tooltip-arrow" />- <div className="rounded bg-alternative py-1 px-2 leading-none shadow border border-background min-w-[250px]">- <div className="text-xs text-foreground max-w-sm space-y-2">+ <div className="rounded bg-alternative py-1 px-2 leading-none shadow border border-background min-w-[300px] max-w-[450px] max-h-[300px] overflow-y-auto">+ <div className="text-xs text-foreground space-y-2"><p className="font-medium">{usageMeta.unit_price_desc}</p>{usageMeta.project_allocations && usageMeta.project_allocations.length > 0 && (diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsxindex 66dcf5459f1..603f42ceccb 100644--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/ComputeMetric.tsx@@ -52,8 +52,8 @@ const ComputeMetric = ({ slug, metric, usage, relativeToSubscription }: ComputeM<Tooltip.Portal><Tooltip.Content side="bottom"><Tooltip.Arrow className="radix-tooltip-arrow" />- <div className="rounded bg-alternative py-1 px-2 leading-none shadow border border-background min-w-[250px]">- <div className="text-xs text-foreground max-w-sm space-y-2">+ <div className="rounded bg-alternative py-1 px-2 leading-none shadow border border-background min-w-[300px] max-w-[450px] max-h-[300px] overflow-y-auto">+ <div className="text-xs text-foreground space-y-2"><p className="font-medium">{usageMeta?.unit_price_desc}</p>{usageMeta?.project_allocations && usageMeta.project_allocations.length > 0 && (