From 49e2bed39a5927f094fc37e46128ec7cc9687ad9 Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Fri, 13 Dec 2024 19:05:41 +0530 Subject: [PATCH] FOR-5054 Avoid styling new Stripe field. --- library/scss/globals/_input.scss | 6 +++--- library/scss/src/settings/components/_stripe.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/scss/globals/_input.scss b/library/scss/globals/_input.scss index 0ee0c2b7..f03462b8 100644 --- a/library/scss/globals/_input.scss +++ b/library/scss/globals/_input.scss @@ -271,7 +271,7 @@ &:not(.forminator--no_label) { - .StripeElement iframe { + .StripeElement:not(.forminator-stripe-payment-element) iframe { @include opacity(1); } } @@ -342,7 +342,7 @@ .forminator-input--stripe { - .StripeElement { + .StripeElement:not(.forminator-stripe-payment-element) { padding: 10px 0 9px; border: 1px solid transparent; border-radius: 0; @@ -361,7 +361,7 @@ &:not(.forminator--no_label) { - .StripeElement { + .StripeElement:not(.forminator-stripe-payment-element) { iframe { @include opacity(0); diff --git a/library/scss/src/settings/components/_stripe.scss b/library/scss/src/settings/components/_stripe.scss index c8862ab0..b76e6546 100644 --- a/library/scss/src/settings/components/_stripe.scss +++ b/library/scss/src/settings/components/_stripe.scss @@ -13,7 +13,7 @@ &:not(.forminator--no_label) { - .StripeElement iframe { + .StripeElement:not(.forminator-stripe-payment-element) iframe { @include opacity(1); } } @@ -23,7 +23,7 @@ .forminator-input--stripe { - .StripeElement { + .StripeElement:not(.forminator-stripe-payment-element) { padding: 10px 0 9px; border: 1px solid transparent; border-radius: 0; @@ -42,7 +42,7 @@ &:not(.forminator--no_label) { - .StripeElement { + .StripeElement:not(.forminator-stripe-payment-element) { iframe { @include opacity(0);