Skip to content

Commit

Permalink
Scope CSS to cover block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng committed Apr 27, 2021
1 parent 177696f commit 7fee23a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions quadrat/assets/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions quadrat/sass/blocks/_cover.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.is-style-quadrat-cover-diamond {
.wp-block-cover.is-style-quadrat-cover-diamond {

&::after {
background-image: url(rotated.svg);
Expand All @@ -21,7 +21,7 @@
opacity: 0;
}

&::after {
&:after {
mix-blend-mode: normal;
mask-image: url(rotated.svg);
mask-repeat: no-repeat;
Expand Down

0 comments on commit 7fee23a

Please sign in to comment.