Skip to content

Commit 42efa33

Browse files
committed
fix(payments-ui): Update text color for countries when error occurs
This commit: - Updates red text color for countries when error occurs - Fix top border to be rounded as well Closes: FXA-11570
1 parent f4069c0 commit 42efa33

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/payments/next/app/[locale]/[offeringId]/[interval]/location
  • libs/payments/ui/src/lib/client/components/SelectTaxLocation

apps/payments/next/app/[locale]/[offeringId]/[interval]/location/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default async function Location({
8484

8585
return (
8686
<section
87-
className="w-full max-w-[576px] bg-white rounded-b-lg shadow-sm shadow-grey-300 border-t-0 mb-6 pt-4 px-4 pb-14 rounded-t-lg text-grey-600 tablet:clip-shadow tablet:rounded-t-none desktop:px-12 desktop:pb-12"
87+
className="w-full max-w-[576px] bg-white rounded-lg shadow-sm shadow-grey-300 border-t-0 mb-6 pt-4 px-4 pb-14 text-grey-600 tablet:clip-shadow desktop:px-12 desktop:pb-12"
8888
aria-label="Determine currency and tax location"
8989
>
9090
<h1 className="font-bold text-grey-600 text-xl mt-10">

libs/payments/ui/src/lib/client/components/SelectTaxLocation/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ const Expanded = ({
284284
!serverErrors.missingCountryCode &&
285285
!serverErrors.productNotAvailable &&
286286
!serverErrors.unsupportedCountry,
287-
'border-alert-red text-alert-red shadow-inputError':
287+
'border-alert-red shadow-inputError':
288288
serverErrors.missingCountryCode ||
289289
serverErrors.productNotAvailable ||
290290
serverErrors.unsupportedCountry,

0 commit comments

Comments
 (0)