From 3f4a005ea60f69f2c65eabfdc51d68473f2ece53 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 2 Feb 2023 09:25:17 +0000 Subject: [PATCH] Twenty Twenty-Two: Improve spacing for the legacy Post Comments block. This changeset adds margins to improve spacing in the legacy Post Comments block. This change only affects users who have not updated to the new Comments block. Props patelhitesh, audrasjb, poena, miguelaxcar. Fixes #57560. Built from https://develop.svn.wordpress.org/trunk@55189 git-svn-id: http://core.svn.wordpress.org/trunk@54722 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentytwo/style.css | 13 +++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwentytwo/style.css b/wp-content/themes/twentytwentytwo/style.css index f611fad6c1..c07b0d95f3 100644 --- a/wp-content/themes/twentytwentytwo/style.css +++ b/wp-content/themes/twentytwentytwo/style.css @@ -146,3 +146,16 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover, padding-left: var(--wp--custom--spacing--outer); } +/* + * Improves spacing for the legacy Post Comments block. + * https://core.trac.wordpress.org/ticket/57560 + */ + +.wp-block-post-comments ol.commentlist ul.children { + margin-top: 1rem; + margin-bottom: 1rem; +} + +.wp-block-post-comments ol.commentlist ul.children li:not(:last-child) { + margin-bottom: 1rem; +} diff --git a/wp-includes/version.php b/wp-includes/version.php index 31ba8e04cb..4ed1b683dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55188'; +$wp_version = '6.2-alpha-55189'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.