Skip to content

Commit f73415c

Browse files
committed
Adjust the size of the OK and Cancel buttons
1 parent 67baa8f commit f73415c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/js/_enqueues/admin/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ jQuery( function($) {
10281028
revert_e = $el.html();
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
);
10341034

src/wp-admin/css/edit.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ input#link_url {
121121
#edit-slug-box .cancel {
122122
margin-right: 10px;
123123
padding: 0;
124-
font-size: 11px;
125124
}
126125

127126
#comment-link-box {

src/wp-includes/css/buttons.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ TABLE OF CONTENTS:
380380

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,
385386
input#save-post,

0 commit comments

Comments
 (0)