From 4fbd54fb3f894b711a5aa6acb3ed4504316093e5 Mon Sep 17 00:00:00 2001 From: cedvdb Date: Tue, 1 Oct 2024 19:18:21 +0200 Subject: [PATCH] remove unnecessary scroll (#1948) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: cedvandenbosch Co-authored-by: RĂ©mon --- packages/stripe_web/lib/src/widgets/payment_element.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/stripe_web/lib/src/widgets/payment_element.dart b/packages/stripe_web/lib/src/widgets/payment_element.dart index 8b61f8c8..eddbb6c2 100644 --- a/packages/stripe_web/lib/src/widgets/payment_element.dart +++ b/packages/stripe_web/lib/src/widgets/payment_element.dart @@ -121,9 +121,7 @@ class PaymentElementState extends State { ..id = 'payment-element' ..style.border = 'none' ..style.width = '100%' - ..style.height = '${height}' - ..style.overflow = 'scroll' - ..style.overflowX = 'hidden'; + ..style.height = '${height}'; elements = WebStripe.js.elements(createOptions()); mutationObserver!.observe(