From 9366d5703055a8c8b1e145cdbe39f3be9f9f6442 Mon Sep 17 00:00:00 2001 From: DIVINE Date: Wed, 21 Oct 2026 21:53:56 +0100 Subject: [PATCH] Improve the empty state for the investment summary before an amount is entered. --- src/components/forms/InvestmentForm.tsx | 29 +++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/components/forms/InvestmentForm.tsx b/src/components/forms/InvestmentForm.tsx index 3dc59d67..96943fc6 100644 --- a/src/components/forms/InvestmentForm.tsx +++ b/src/components/forms/InvestmentForm.tsx @@ -349,7 +349,7 @@ const PaymentMethodField = memo(function PaymentMethodField({ const match = INVESTMENT_PAYMENT_METHODS.find((option) => option.value === next) if (match) onChange(match.value) }} - className="h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] md:text-sm" + className="h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-ring/50" > {INVESTMENT_PAYMENT_METHODS.map((option) => (