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
This commit is contained in:
audrasjb 2023-02-02 09:25:17 +00:00
parent 7e3b08c8af
commit 3f4a005ea6
2 changed files with 14 additions and 1 deletions

View File

@ -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;
}

View File

@ -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.