From c31c35c05eaad4efbfce0bbd553553f0f033f1a4 Mon Sep 17 00:00:00 2001 From: wjames111 Date: Mon, 23 Dec 2024 12:39:16 -0500 Subject: [PATCH] Updates specificity in css to override default styles. --- .../directives/creditCardCvv.directive.scss | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/common/directives/creditCardCvv.directive.scss b/src/common/directives/creditCardCvv.directive.scss index f75352093..9778d5cad 100644 --- a/src/common/directives/creditCardCvv.directive.scss +++ b/src/common/directives/creditCardCvv.directive.scss @@ -29,20 +29,22 @@ } .give-modal-content, .branded-checkout { - .credit-card-cvv-label { - text-transform: uppercase; - font-weight: 500; - letter-spacing: 1px; - font-size: 14px; - display: block; - margin-bottom: 4px; - &::after { - content: '*'; - display: inline-block; - font-size: 115%; - line-height: 0; - font-family: "fontawesome", "Font Awesome 5 Pro"; - margin-left: 6px; + .credit-card-cvv-container { + .credit-card-cvv-label { + text-transform: uppercase; + font-weight: 500; + letter-spacing: 1px; + font-size: 14px; + display: block; + margin-bottom: 4px; + &::after { + content: '*'; + display: inline-block; + font-size: 115%; + line-height: 0; + font-family: "fontawesome", "Font Awesome 5 Pro"; + margin-left: 6px; + } } } }