Skip to content

Commit

Permalink
TCI-1185: Correct button styling on hero alt background (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
melwong-jcc authored Dec 6, 2023
1 parent eb820b9 commit 7d30017
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/_patterns/02-molecules/hero/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);
}
}

// Preserve inverse style for embedded buttons.
.jcc-button--primary,
.jcc-button--inverse {
.jcc-hero--background-alt & {
@extend .jcc-button--inverse;
@include u-color("primary", !important);
}
}

// CSS for background signature title
.jcc-signature-bottom-right {
@include u-position(absolute);
Expand Down

0 comments on commit 7d30017

Please sign in to comment.