Skip to content

Commit

Permalink
Try: Cover default-overlay color regression fix.
Browse files Browse the repository at this point in the history
Possibly fixes #26545.
  • Loading branch information
jasmussen committed Oct 29, 2020
1 parent 36d2e19 commit 49eb2f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@
}
}

// This is unscoped to the Cover block to reduce specificity.
// This allows theme colors override the specific color.
.has-background-dim {
background-color: $black;
}

.wp-block-cover__video-background {
position: absolute;
top: 50%;
Expand Down

0 comments on commit 49eb2f0

Please sign in to comment.