From 6fc6bb0cca3f00f0437f30dd858d8811f7ead146 Mon Sep 17 00:00:00 2001 From: bogdan202 Date: Wed, 11 Dec 2024 14:43:02 +0100 Subject: [PATCH] refs #46227 small modification of appearance --- views/templates/acdc/payment-option.tpl | 28 ++++++++++++++++--------- views/templates/sepa/button.tpl | 4 ++-- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/views/templates/acdc/payment-option.tpl b/views/templates/acdc/payment-option.tpl index 1fe04906..aaf8301c 100644 --- a/views/templates/acdc/payment-option.tpl +++ b/views/templates/acdc/payment-option.tpl @@ -32,6 +32,10 @@ min-width: 120px; } + #card-number { + width: 300px; + } + .pp-flex { display: flex; } @@ -44,12 +48,7 @@ justify-content: center; } - .pp-field-wrapper { - padding: 10px; - } - .pp-field-wrapper label { - padding: 0 0 10px 0; font-weight: bold; } @@ -62,8 +61,17 @@ } .pp-padding-1 { - padding: 10px + padding: 0.375rem; } + + [paypal-acdc-card-wrapper] [paypal-acdc-form-button] { + width: 100%; + } + + [paypal-acdc-form-button] { + min-width: 200px; + } + {/block} @@ -83,24 +91,24 @@
- +
- +
- +
- +
diff --git a/views/templates/sepa/button.tpl b/views/templates/sepa/button.tpl index a30b75f5..33b75050 100644 --- a/views/templates/sepa/button.tpl +++ b/views/templates/sepa/button.tpl @@ -51,8 +51,8 @@ var sepaObj = new SepaButton({ method: 'sepa', button: '#paypal-sepa', - controller: '{$scInitController|escape:'htmlall':'UTF-8'}', - validationController: '{$validationController|escape:'htmlall':'UTF-8'}', + controller: '{$scInitController nofilter}', + validationController: '{$validationController nofilter}', paypal: window[skdNameSpace], isMoveButtonAtEnd: PAYPAL_MOVE_BUTTON_AT_END });