From 8cdc4bc3f4fefd5f579ec3abe018ebe2ed0af1a9 Mon Sep 17 00:00:00 2001 From: Cillian O'Ruanaidh Date: Fri, 23 Apr 2021 17:54:22 +0100 Subject: [PATCH] Increase the width of Stripe Elements fields in admin so they don't overlap The card number and expiry month/year fields were overlapping on the new payment form in the admin area. --- app/views/spree/admin/payments/source_forms/_stripe.html.haml | 2 +- .../spree/admin/payments/source_forms/_stripe_sca.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/payments/source_forms/_stripe.html.haml b/app/views/spree/admin/payments/source_forms/_stripe.html.haml index 7dedf202f4..f946d4800a 100644 --- a/app/views/spree/admin/payments/source_forms/_stripe.html.haml +++ b/app/views/spree/admin/payments/source_forms/_stripe.html.haml @@ -14,5 +14,5 @@ .row .three.columns = label_tag :card_details, t(:card_details) - .six.columns + .nine.columns %stripe-elements diff --git a/app/views/spree/admin/payments/source_forms/_stripe_sca.html.haml b/app/views/spree/admin/payments/source_forms/_stripe_sca.html.haml index a50305494a..78e96b2e7d 100644 --- a/app/views/spree/admin/payments/source_forms/_stripe_sca.html.haml +++ b/app/views/spree/admin/payments/source_forms/_stripe_sca.html.haml @@ -13,5 +13,5 @@ .row .three.columns = label_tag :card_details, t(:card_details) - .six.columns + .nine.columns %stripe-elements