Make WordPress Core

Changeset 62263


Ignore:
Timestamp:
04/26/2026 11:04:23 PM (5 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.

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

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/post.js

    r61764 r62263  
    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                );
  • trunk/src/wp-admin/css/edit.css

    r62196 r62263  
    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
  • trunk/src/wp-includes/css/buttons.css

    r62154 r62263  
    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.