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.


git-svn-id: https://develop.svn.wordpress.org/trunk@55189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-02-02 09:23:21 +00:00
parent d955c72056
commit 0c97bbc118
@@ -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;
}