Cdentinger has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258080

Change subject: fiddle with iframe container/content height
......................................................................

fiddle with iframe container/content height

this seems to be the best combo wrt getting rid of scroll bars

Change-Id: I1e042a816a52839bafa0507e86514d2f3bed4223
---
M adyen_gateway/forms/css/iframe.screen.css
M adyen_gateway/forms/js/adyen.js
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/80/258080/1

diff --git a/adyen_gateway/forms/css/iframe.screen.css 
b/adyen_gateway/forms/css/iframe.screen.css
index 2ece46a..8a53ac7 100644
--- a/adyen_gateway/forms/css/iframe.screen.css
+++ b/adyen_gateway/forms/css/iframe.screen.css
@@ -20,7 +20,7 @@
    script from 2007 will set a bad one that truncates content:
      https://test.adyen.com/hpp/js/animatedcollapse.js?v=7a9b */
 #pmmdetails-card {
-       height: 500px;
+       height: 400px;
 }
 
 /* Main Elements */
diff --git a/adyen_gateway/forms/js/adyen.js b/adyen_gateway/forms/js/adyen.js
index ca1d7a1..2e3a2b6 100644
--- a/adyen_gateway/forms/js/adyen.js
+++ b/adyen_gateway/forms/js/adyen.js
@@ -61,7 +61,7 @@
                                                // Empty the div; add the 
target iframe; then submit the request for the iframe contents
                                                $payment.append( $( 
'<iframe></iframe>', {
                                                        style: 'display: none; 
width: 100%;',
-                                                       height: 400,
+                                                       height: 500,
                                                        frameborder: 0,
                                                        name: 'adyen-iframe',
                                                        id: 'adyen-iframe'

-- 
To view, visit https://gerrit.wikimedia.org/r/258080
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e042a816a52839bafa0507e86514d2f3bed4223
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Cdentinger <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to