Skip to content

Commit

Permalink
Fix hidden nested images in content column (#18347)
Browse files Browse the repository at this point in the history
  • Loading branch information
CreativeDive authored and youknowriad committed Nov 12, 2019
1 parent dc6e470 commit e9fcbdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/media-text/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
vertical-align: middle;
}

.wp-block-media-text.is-image-fill figure {
.wp-block-media-text.is-image-fill figure.wp-block-media-text__media {
height: 100%;
min-height: 250px;
background-size: cover;
}

.wp-block-media-text.is-image-fill figure > img {
.wp-block-media-text.is-image-fill figure.wp-block-media-text__media > img {
// The image is visually hidden but accessible to assistive technologies.
position: absolute;
width: 1px;
Expand Down

0 comments on commit e9fcbdc

Please sign in to comment.