Skip to content

Commit

Permalink
Fix the contrast on the type of alert text on full page alert banners (
Browse files Browse the repository at this point in the history
…#362)

* Fix the contrast on the type of alert text on full page alert banners

Fix #361

Use color: inherit instead of overriding with a value

* Remove a and p tags from full page alert colour inherit

These are providing redundent overrides so can be removed
  • Loading branch information
andybroomfield authored Aug 6, 2024
1 parent f4eea8b commit 4252f89
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ dialog + .backdrop {
background: rgba(0, 0, 0, 1) !important;
}

.localgov-alert-banner-full h1,
.localgov-alert-banner-full p,
.localgov-alert-banner-full a {
color: #FFFFFF;
.localgov-alert-banner-full h1 {
color: inherit;
}

.localgov-alert-banner-full > .localgov-alert-banner-full--centered {
Expand Down

0 comments on commit 4252f89

Please sign in to comment.