Make WordPress Core

Ticket #57542: 57542.patch

File 57542.patch, 1004 bytes (added by sabernhardt, 15 months ago)

copying part of wp-block-comments styles

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

     
    159159.wp-block-post-comments ol.commentlist ul.children li:not(:last-child) {
    160160        margin-bottom: 1rem;
    161161}
     162
     163/*
     164 * Improves label alignment for the legacy Post Comments block.
     165 * https://core.trac.wordpress.org/ticket/57542
     166 */
     167
     168.wp-block-post-comments .comment-form-comment label,
     169.wp-block-post-comments .comment-form-author label,
     170.wp-block-post-comments .comment-form-email label,
     171.wp-block-post-comments .comment-form-url label {
     172        display: block;
     173        margin-bottom: 0.25em;
     174}
     175
     176.wp-block-post-comments .comment-form textarea,
     177.wp-block-post-comments .comment-form input:not([type="submit"]):not([type="checkbox"]) {
     178        display: block;
     179        box-sizing: border-box;
     180        width: 100%;
     181        padding: calc(0.667em + 2px);
     182}