Make WordPress Core

Changeset 62270


Ignore:
Timestamp:
04/27/2026 02:23:13 AM (4 months ago)
Author:
peterwilsoncc
Message:

Administration: Resize classic editor slug field for new theme.

Reduces the size and improves the alignment of the post slug field following the re-design of form elements as part of the new admin theme.

Reviewed by wildworks.
Merges r62263 to the 7.0 branch.

Props wildworks, sabernhardt, audrasjb, dhruvang21, shailu25, joedolson, khushdoms, tusharaddweb.
Fixes #65063.

Location:
branches/7.0
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/js/_enqueues/admin/post.js

    r61764 r62270  
    10291029
    10301030                buttons.html(
    1031                         '<button type="button" class="save button button-small">' + __( 'OK' ) + '</button> ' +
     1031                        '<button type="button" class="save button button-compact">' + __( 'OK' ) + '</button> ' +
    10321032                        '<button type="button" class="cancel button-link">' + __( 'Cancel' ) + '</button>'
    10331033                );
  • branches/7.0/src/wp-admin/css/edit.css

    r62203 r62270  
    122122        margin-right: 10px;
    123123        padding: 0;
    124         font-size: 11px;
    125124}
    126125
     
    141140        font-size: 13px;
    142141        font-weight: 400;
    143         height: 24px;
     142        min-height: 32px;
    144143        margin: 0;
    145144        width: 16em;
     
    10691068                padding: 0;
    10701069        }
     1070
     1071        #editable-post-name input {
     1072                min-height: 40px;
     1073        }
    10711074}
    10721075
  • branches/7.0/src/wp-includes/css/buttons.css

    r62154 r62270  
    381381        .wp-core-ui .button,
    382382        .wp-core-ui .button.button-large,
     383        .wp-core-ui .button.button-compact,
    383384        .wp-core-ui .button.button-small,
    384385        input#publish,
Note: See TracChangeset for help on using the changeset viewer.