Skip to content

Commit

Permalink
Submit button fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlisachan committed Jun 4, 2024
1 parent f818558 commit 8a36b05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/payments/ui/src/lib/client/components/CheckoutForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function CheckoutForm({
className={
formEnabled
? ''
: 'relative cursor-not-allowed focus:border-blue-400 focus:outline-none focus:shadow-input-blue-focus after:absolute after:content-[""] after:top-0 after:left-0 after:w-full after:h-full after:bg-white after:opacity-50 after:z-10'
: 'cursor-not-allowed relative focus:border-blue-400 focus:outline-none focus:shadow-input-blue-focus after:absolute after:content-[""] after:top-0 after:left-0 after:w-full after:h-full after:bg-white after:opacity-50 after:z-10'
}
onClick={() => setShowConsentError(true)}
>
Expand Down Expand Up @@ -230,6 +230,11 @@ export function CheckoutForm({
aria-disabled={
!stripeFieldsComplete || !nonStripeFieldsComplete || loading
}
className={
formEnabled
? ''
: 'cursor-not-allowed relative focus:border-blue-400 focus:outline-none focus:shadow-input-blue-focus after:absolute after:content-[""] after:top-0 after:left-0 after:w-full after:h-full after:bg-white after:opacity-50 after:z-10'
}
>
<Image
src={LockImage}
Expand Down

0 comments on commit 8a36b05

Please sign in to comment.