From 9192b6f988ab19e302a3228bded4922f36dbd6fe Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 5 Apr 2026 17:26:45 +0800 Subject: [PATCH] fix: align usage display across provider cards by always rendering action buttons Test and ConfigureUsage buttons are now always rendered instead of conditionally, with a disabled style for providers that don't support them (e.g. official subscriptions). This ensures consistent button container width so the usage display aligns uniformly across all cards. --- src/components/providers/ProviderActions.tsx | 57 ++++++++++---------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/src/components/providers/ProviderActions.tsx b/src/components/providers/ProviderActions.tsx index d776ae21a..98db9307d 100644 --- a/src/components/providers/ProviderActions.tsx +++ b/src/components/providers/ProviderActions.tsx @@ -246,34 +246,37 @@ export function ProviderActions({ - {onTest && ( - - )} + - {onConfigureUsage && ( - - )} + {onOpenTerminal && (