From 0054b3eb6f51d5239b5dfb749be8a6ee5ab5693c Mon Sep 17 00:00:00 2001 From: Dean Sas Date: Thu, 15 Aug 2024 12:27:26 +0100 Subject: [PATCH] Minimise the scope of the change --- packages/block-library/src/post-featured-image/style.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/post-featured-image/style.scss b/packages/block-library/src/post-featured-image/style.scss index 345f7d1f156cc..84cbefa939463 100644 --- a/packages/block-library/src/post-featured-image/style.scss +++ b/packages/block-library/src/post-featured-image/style.scss @@ -1,4 +1,10 @@ :where(.wp-block-post-featured-image) { + img { + vertical-align: bottom; + width: 100%; + } +} +.wp-block-post-featured-image { margin-left: 0; margin-right: 0; a { @@ -7,9 +13,7 @@ } img { max-width: 100%; - width: 100%; height: auto; - vertical-align: bottom; box-sizing: border-box; }