From 751eed2409e296333da82df83f56a4291844da14 Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Mon, 8 Aug 2022 09:53:12 +0200 Subject: [PATCH] Try: Fix issue with floated featured images overflowing focus style (#40663) --- packages/block-library/src/latest-posts/editor.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/block-library/src/latest-posts/editor.scss b/packages/block-library/src/latest-posts/editor.scss index 3454f8f5139f00..3c2d6a30f1c077 100644 --- a/packages/block-library/src/latest-posts/editor.scss +++ b/packages/block-library/src/latest-posts/editor.scss @@ -3,6 +3,11 @@ &.is-grid { padding-left: 0; } + + // Apply overflow for post items, so any floated featured images won't crop the focus style. + > li { + overflow: hidden; + } } .wp-block-latest-posts li a > div {