From 47b1737c42e1ebce3d871f055326f20f52440b4e Mon Sep 17 00:00:00 2001 From: Cezar Luiz Date: Fri, 26 May 2017 16:15:37 -0300 Subject: [PATCH 1/2] Removed 4px white space between elements --- woocommerce-gateway-ebanx/templates/baloto/payment-on-hold.php | 3 +-- .../templates/banking-ticket/payment-on-hold.php | 3 +-- woocommerce-gateway-ebanx/templates/oxxo/payment-on-hold.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/woocommerce-gateway-ebanx/templates/baloto/payment-on-hold.php b/woocommerce-gateway-ebanx/templates/baloto/payment-on-hold.php index 4430bd44..0c79a837 100644 --- a/woocommerce-gateway-ebanx/templates/baloto/payment-on-hold.php +++ b/woocommerce-gateway-ebanx/templates/baloto/payment-on-hold.php @@ -22,8 +22,7 @@

diff --git a/woocommerce-gateway-ebanx/templates/banking-ticket/payment-on-hold.php b/woocommerce-gateway-ebanx/templates/banking-ticket/payment-on-hold.php index d6a34a12..7087f335 100644 --- a/woocommerce-gateway-ebanx/templates/banking-ticket/payment-on-hold.php +++ b/woocommerce-gateway-ebanx/templates/banking-ticket/payment-on-hold.php @@ -37,8 +37,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/oxxo/payment-on-hold.php b/woocommerce-gateway-ebanx/templates/oxxo/payment-on-hold.php index 3cbbef01..4ed06fd8 100644 --- a/woocommerce-gateway-ebanx/templates/oxxo/payment-on-hold.php +++ b/woocommerce-gateway-ebanx/templates/oxxo/payment-on-hold.php @@ -24,8 +24,7 @@

From 13f8dc69a03517523f39dafc0a70f4afc1f60019 Mon Sep 17 00:00:00 2001 From: Cezar Luiz Date: Fri, 26 May 2017 17:53:12 -0300 Subject: [PATCH 2/2] Change CSS to avoid breakpoints on Boleto Thankyou Page --- .../assets/css/paying-via-ebanx.css | 33 +++++++------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css b/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css index ae209467..2944a0e6 100644 --- a/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css +++ b/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css @@ -363,31 +363,21 @@ li[class*="ebanx"] .payment_box .ebanx-credit-card-label > .ebanx-credit-card-bi margin: 20px 0; } -.woocommerce .ebanx-button--group-two > a, -.woocommerce .ebanx-button--group-two > button, -.woocommerce .ebanx-button--group-two > .button { - width: 49%; - float: left; -} - -.woocommerce .ebanx-button--group-two > a:not(:first-child), -.woocommerce .ebanx-button--group-two > button:not(:first-child), -.woocommerce .ebanx-button--group-two > .button:not(:first-child) { - float: right; +.button.banking-ticket__action { + width: calc(50% - 10px); + display: inline-block; + margin: 0; } -.woocommerce .ebanx-button--group::before, -.woocommerce .ebanx-button--group::after { - content: " "; - display: table; +.button.banking-ticket__action:last-child { + margin-left: 20px; } .woocommerce .ebanx-button--group::after {clear: both;} .woocommerce .ebanx-button--copy { position: relative; - margin-bottom: 0 !important; - + margin: 0 !important; transition: all .3s; } @@ -465,14 +455,15 @@ li[class*="ebanx"] .payment_box .ebanx-credit-card-label > .ebanx-credit-card-bi .banking-ticket__barcode::after {clear: both;} .banking-ticket__barcode-code { - display: inline-block; + display: block; letter-spacing: .32px; - vertical-align: middle; + text-align: center; } .banking-ticket__barcode-copy { - display: inline-block; - margin-left: 32px; + display: block; + text-align: center; + margin-top: 20px; } .ebanx-form-row .select2.select2-container {