From b743a1bef87001e66589a027f35653d1e0fc9f78 Mon Sep 17 00:00:00 2001 From: tblivet Date: Mon, 31 Jul 2023 11:23:15 +0200 Subject: [PATCH] fix: remove ps_checkout specific rules --- src/scss/custom/modules/_checkout.scss | 10 ---------- src/scss/custom/modules/_index.scss | 1 - templates/checkout/_partials/steps/payment.tpl | 4 ++-- 3 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 src/scss/custom/modules/_checkout.scss diff --git a/src/scss/custom/modules/_checkout.scss b/src/scss/custom/modules/_checkout.scss deleted file mode 100644 index c00d3f6ae..000000000 --- a/src/scss/custom/modules/_checkout.scss +++ /dev/null @@ -1,10 +0,0 @@ -.payment__option { - &.ps_checkout-payment-option{ - label{ - // Needed to override ps_checkout !important style - /* stylelint-disable-next-line declaration-no-important */ - display: flex !important; - line-height: initial; - } - } -} diff --git a/src/scss/custom/modules/_index.scss b/src/scss/custom/modules/_index.scss index 2f9f8f37d..354a3741a 100644 --- a/src/scss/custom/modules/_index.scss +++ b/src/scss/custom/modules/_index.scss @@ -1,5 +1,4 @@ @import "featuredproducts"; -@import "checkout"; @import "contactform"; @import "contactinfo"; @import "emailsubscriptions"; diff --git a/templates/checkout/_partials/steps/payment.tpl b/templates/checkout/_partials/steps/payment.tpl index a0f02bbc0..dfa648c71 100644 --- a/templates/checkout/_partials/steps/payment.tpl +++ b/templates/checkout/_partials/steps/payment.tpl @@ -33,10 +33,10 @@ /> - {$option.call_to_action_text} {if $option.logo} - + {/if} + {$option.call_to_action_text}