Skip to content

Commit

Permalink
align post template image and image blocks images to the bottom (#35466)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Oct 11, 2021
1 parent dc955cb commit cb71bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/block-library/src/image/style.scss
Expand Up @@ -4,6 +4,7 @@
img {
height: auto;
max-width: 100%;
vertical-align: bottom;
}

&:not(.is-style-rounded) img {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/post-featured-image/style.scss
@@ -1,5 +1,4 @@
.wp-block-post-featured-image {
line-height: 0;
margin-left: 0;
margin-right: 0;
a {
Expand All @@ -9,6 +8,7 @@
max-width: 100%;
width: 100%;
height: auto;
vertical-align: bottom;
}

&.alignwide img,
Expand Down

0 comments on commit cb71bf3

Please sign in to comment.