mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user