Skip to content

Commit

Permalink
Fix content reveal for WP 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed Nov 7, 2024
1 parent 5f5029c commit 1607230
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dalston/block-extends/extend-cover-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,18 @@
text-decoration: underline;
}

.wp-block-cover.is-style-hover-reveal .wp-block-cover__inner-container {
.wp-block-cover.is-style-hover-reveal .wp-block-cover__inner-container,
.wp-block-cover.is-style-hover-reveal .wp-block-cover-text {
opacity: 0;
-webkit-transition: opacity 0.2s ease-in-out;
-moz-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}

.wp-block-cover.is-style-hover-reveal.dalston-in-viewport .wp-block-cover__inner-container,
.wp-block-cover.is-style-hover-reveal:hover .wp-block-cover__inner-container {
.wp-block-cover.is-style-hover-reveal:hover .wp-block-cover__inner-container,
.wp-block-cover.is-style-hover-reveal.dalston-in-viewport .wp-block-cover-text,
.wp-block-cover.is-style-hover-reveal:hover .wp-block-cover-text {
opacity: 1;
}

Expand Down

0 comments on commit 1607230

Please sign in to comment.