Make WordPress Core

Ticket #61438: 61438.CSS.diff

File 61438.CSS.diff, 579 bytes (added by sabernhardt, 4 months ago)

Option 2: Add CSS to clear any element that follows .entry-content, including the footer template part

  • src/wp-content/themes/twentytwentytwo/style.css

     
    159159.wp-block-post-comments ol.commentlist li.comment:not(:last-child) {
    160160        margin-bottom: 1rem;
    161161}
     162
     163/*
     164 * Clears floats for elements that follow page content.
     165 * https://core.trac.wordpress.org/ticket/61438
     166 */
     167
     168:where(.entry-content + *, footer.wp-block-template-part) {
     169        clear: both;
     170}