Media: Fix button sizing on Edit Media screen.
On the Edit Media screen, buttons were not all of consistent size. This was caused by custom sizing applied to CSS in the Edit Media panel that was not consistent with other button sizes. Remove custom sizing and adds class so all Edit Media buttons will match styling of other admin buttons in desktop and mobile viewports. Props hbhalodia, sabernhardt, sandeepdahiya, mikinc860, mukesh27, joedolson. Fixes #63559. Built from https://develop.svn.wordpress.org/trunk@60640 git-svn-id: http://core.svn.wordpress.org/trunk@59976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -981,15 +981,6 @@ border color while dragging a file over the uploader drop area */
|
||||
padding: 1em 0 0;
|
||||
}
|
||||
|
||||
.image-editor .imgedit-menu .button {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
min-height: 28px;
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.imgedit-menu .button:after,
|
||||
.imgedit-menu .button:before {
|
||||
font: normal 16px/1 dashicons;
|
||||
|
||||
2
wp-admin/css/media-rtl.min.css
vendored
2
wp-admin/css/media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -980,15 +980,6 @@ border color while dragging a file over the uploader drop area */
|
||||
padding: 1em 0 0;
|
||||
}
|
||||
|
||||
.image-editor .imgedit-menu .button {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
min-height: 28px;
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.imgedit-menu .button:after,
|
||||
.imgedit-menu .button:before {
|
||||
font: normal 16px/1 dashicons;
|
||||
|
||||
2
wp-admin/css/media.min.css
vendored
2
wp-admin/css/media.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -267,7 +267,7 @@ function wp_image_editor( $post_id, $msg = false ) {
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="imgedit-crop-apply imgedit-menu container">
|
||||
<button class="button-primary" type="button" onclick="imageEdit.handleCropToolClick( <?php echo "$post_id, '$nonce'"; ?>, this );" class="imgedit-crop-apply button"><?php esc_html_e( 'Apply Crop' ); ?></button> <button type="button" onclick="imageEdit.handleCropToolClick( <?php echo "$post_id, '$nonce'"; ?>, this );" class="imgedit-crop-clear button" disabled="disabled"><?php esc_html_e( 'Clear Crop' ); ?></button>
|
||||
<button class="button button-primary" type="button" onclick="imageEdit.handleCropToolClick( <?php echo "$post_id, '$nonce'"; ?>, this );" class="imgedit-crop-apply button"><?php esc_html_e( 'Apply Crop' ); ?></button> <button type="button" onclick="imageEdit.handleCropToolClick( <?php echo "$post_id, '$nonce'"; ?>, this );" class="imgedit-crop-clear button" disabled="disabled"><?php esc_html_e( 'Clear Crop' ); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60639';
|
||||
$wp_version = '6.9-alpha-60640';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user