From cb71bf3a4d3a9f5839697ba8763bd95aaaea8072 Mon Sep 17 00:00:00 2001 From: Maggie Date: Mon, 11 Oct 2021 09:39:03 +0200 Subject: [PATCH] align post template image and image blocks images to the bottom (#35466) --- packages/block-library/src/image/style.scss | 1 + packages/block-library/src/post-featured-image/style.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index b6256d5184d20..95b1416f8697d 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -4,6 +4,7 @@ img { height: auto; max-width: 100%; + vertical-align: bottom; } &:not(.is-style-rounded) img { diff --git a/packages/block-library/src/post-featured-image/style.scss b/packages/block-library/src/post-featured-image/style.scss index d5fd7bbe6cf1b..5c5ae642780d7 100644 --- a/packages/block-library/src/post-featured-image/style.scss +++ b/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 { @@ -9,6 +8,7 @@ max-width: 100%; width: 100%; height: auto; + vertical-align: bottom; } &.alignwide img,