Skip to content

Commit

Permalink
Media & Text: Fixing vertical alignment of the image (#11025)
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign authored and jorgefilipecosta committed Oct 25, 2018
1 parent 830c9ec commit c5227f3
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 c5227f3

Please sign in to comment.