From a4220ae6747e86099ae892f912cd97cd70736da9 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Tue, 5 Mar 2019 09:29:21 +0000 Subject: [PATCH] Fix: Latest posts: Title is clickable across the full width of the row (#14109) ## Description The title in latest posts block was clickable across the full width of the row, making it easy to click on the title by mistake. This problem only affects the editor on the front end things worked as expected. ## How has this been tested? I added the latest posts block. I verified that the title is only clickable if the mouse is above the title and not above any part of its row. ## Screenshots Before: ![feb-25-2019 21-49-15](https://user-images.githubusercontent.com/11271197/53371643-b3e3f380-3948-11e9-95f5-a8f235fabab2.gif) After: ![feb-25-2019 21-53-30](https://user-images.githubusercontent.com/11271197/53371657-c2320f80-3948-11e9-8dfd-ab7ae4640955.gif) --- packages/block-library/src/latest-posts/editor.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/block-library/src/latest-posts/editor.scss b/packages/block-library/src/latest-posts/editor.scss index a29b74fd4cc3a6..3442630f42486e 100644 --- a/packages/block-library/src/latest-posts/editor.scss +++ b/packages/block-library/src/latest-posts/editor.scss @@ -4,3 +4,6 @@ padding-left: 0; } } +.wp-block-latest-posts li a > div { + display: inline; +}