Skip to content

Commit

Permalink
remove unnecessary scroll (#1948)
Browse files Browse the repository at this point in the history
Co-authored-by: cedvandenbosch <[email protected]>
Co-authored-by: Rémon <[email protected]>
  • Loading branch information
3 people authored Oct 1, 2024
1 parent 9969aff commit 4fbd54f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/stripe_web/lib/src/widgets/payment_element.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ class PaymentElementState extends State<PaymentElement> {
..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(
Expand Down

0 comments on commit 4fbd54f

Please sign in to comment.