Make WordPress Core


Ignore:
Timestamp:
06/30/2026 08:17:07 PM (3 months ago)
Author:
joedolson
Message:

Admin Reskin: Fix interactive control heights on mobile.

Give interactive elements a consistent 40px height in the admin mobile viewport on the Add Plugins, Media Library grid, Settings > General, and Add Themes screens.

Follow-up to [61645].
Reviewed by joedolson.
Merges [62516] to the 7.0 branch.

Props abcd95, wildworks.
Fixes #64999.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-admin/includes/class-wp-media-list-table.php

    r62602 r62603  
    248248                                && current_user_can( 'edit_others_posts' )
    249249                        ) {
    250                                 submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false );
     250                                submit_button( __( 'Empty Trash' ), 'apply button-compact', 'delete_all', false );
    251251                        }
    252252                        ?>
    … …  
    352352                                        </label>
    353353                                        <input type="search" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>">
    354                                         <input id="search-submit" type="submit" class="button" value="<?php esc_attr_e( 'Search Media' ); ?>">
     354                                        <input id="search-submit" type="submit" class="button button-compact" value="<?php esc_attr_e( 'Search Media' ); ?>">
    355355                                </p>
    356356                        </div>
Note: See TracChangeset for help on using the changeset viewer.