Skip to content

Commit

Permalink
Media & Text: Fixing vertical alignment of the image (WordPress#11025)
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign authored and antpb committed Oct 26, 2018
1 parent 667d165 commit 981377b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/media-text/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ figure.block-library-media-text__media-container {

.wp-block-media-text .block-library-media-text__media-container img,
.wp-block-media-text .block-library-media-text__media-container video {
margin-bottom: -8px;
vertical-align: middle;
width: 100%;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/media-text/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
.wp-block-media-text > figure > video {
max-width: unset;
width: 100%;
margin-bottom: -6px;
vertical-align: middle;
}

0 comments on commit 981377b

Please sign in to comment.