Skip to content

Commit

Permalink
Updates specificity in css to override default styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
wjames111 committed Dec 23, 2024
1 parent 57360ce commit c31c35c
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions src/common/directives/creditCardCvv.directive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}

0 comments on commit c31c35c

Please sign in to comment.