Make WordPress Core

Changeset 55189


Ignore:
Timestamp:
02/02/2023 09:23:21 AM (10 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentytwo/style.css

    r54786 r55189  
    147147}
    148148
     149/*
     150 * Improves spacing for the legacy Post Comments block.
     151 * https://core.trac.wordpress.org/ticket/57560
     152 */
     153
     154.wp-block-post-comments ol.commentlist ul.children {
     155    margin-top: 1rem;
     156    margin-bottom: 1rem;
     157}
     158
     159.wp-block-post-comments ol.commentlist ul.children li:not(:last-child) {
     160    margin-bottom: 1rem;
     161}
Note: See TracChangeset for help on using the changeset viewer.