We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 5457e62d authored by cyattilakiss's avatar cyattilakiss Committed by GitHub

[PW-2150] Fix 3DS2 challenge popup styling (#657)

* Fix 3DS2 challenge popup styling

* Add modal new config to one click as well
parent 1837ce9a
...@@ -1243,11 +1243,13 @@ ...@@ -1243,11 +1243,13 @@
height:100%; height:100%;
width:100% width:100%
} }
.adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05{ .adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05{
overflow:hidden; overflow:hidden;
padding-top:56.25%; padding-top:56.25%;
position:relative position:relative
} }
.adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05 .adyen-checkout__iframe--threeDSIframe{ .adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05 .adyen-checkout__iframe--threeDSIframe{
border:0; border:0;
height:100%; height:100%;
...@@ -1619,15 +1621,20 @@ ...@@ -1619,15 +1621,20 @@
/* Checkout component Adyen styling end */ /* Checkout component Adyen styling end */
/* never show the close button as this will result in errors */ /* never show the close button as this will result in errors */
.threeDS2Modal .action-close {display:none; } .threeDS2Modal .action-close {
display:none;
}
.threeDS2Modal #threeDS2Container { .threeDS2Modal #threeDS2Container {
margin-bottom: 5rem; margin-bottom: 5rem;
} }
.adyen-checkout__threeds2, .adyen-checkout__threeds2__challenge { .adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05 .adyen-checkout__iframe--threeDSIframe{
height:100%; position: relative;
min-height: 400px;
} }
.adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05{
overflow:auto;
padding-top: 0;
}
...@@ -245,6 +245,8 @@ define( ...@@ -245,6 +245,8 @@ define(
var popupModal = $('#threeDS2Modal').modal({ var popupModal = $('#threeDS2Modal').modal({
// disable user to hide popup // disable user to hide popup
clickableOverlay: false, clickableOverlay: false,
responsive: true,
innerScroll: false,
// empty buttons, we don't need that // empty buttons, we don't need that
buttons: [], buttons: [],
modalClass: 'threeDS2Modal' modalClass: 'threeDS2Modal'
......
...@@ -360,6 +360,8 @@ define( ...@@ -360,6 +360,8 @@ define(
var popupModal = $('#threeDS2ModalOneClick').modal({ var popupModal = $('#threeDS2ModalOneClick').modal({
// disable user to hide popup // disable user to hide popup
clickableOverlay: false, clickableOverlay: false,
responsive: true,
innerScroll: false,
// empty buttons, we don't need that // empty buttons, we don't need that
buttons: [], buttons: [],
modalClass: 'threeDS2Modal' modalClass: 'threeDS2Modal'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment