Skip to content

Commit

Permalink
Fixes #38764 by setting transparent bg color on gradient overlay (#38765
Browse files Browse the repository at this point in the history
)

* Fixes #38764 by setting transparent bg color on gradient overlay

* Removing obsolete child combinator
  • Loading branch information
webmandesign authored and Mamaduka committed Mar 29, 2022
1 parent 198f97c commit 5ee740a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
background-color: $black;
}

.has-background-dim.has-background-gradient {
background-color: transparent;
}

// the first selector is required for old Cover markup
&.has-background-dim::before,
.has-background-dim::before {
Expand Down

0 comments on commit 5ee740a

Please sign in to comment.