diff --git a/packages/block-library/src/media-text/edit.js b/packages/block-library/src/media-text/edit.js index c5cdd0fbc8526..aca051753a33a 100644 --- a/packages/block-library/src/media-text/edit.js +++ b/packages/block-library/src/media-text/edit.js @@ -161,7 +161,7 @@ class MediaTextEdit extends Component { } = attributes; return ( img { +.wp-block-media-text.is-image-fill figure.wp-block-media-text__media-container > img { // The image is visually hidden but accessible to assistive technologies. position: absolute; width: 1px;