Make WordPress Core


Ignore:
Timestamp:
06/30/2026 08:14:22 PM (2 months ago)
Author:
joedolson
Message:

Admin Reskin: Fix mobile list table control heights.

On the mobile admin viewport, interactive elements on list table pages had inconsistent heights. Give them a consistent height.

Follow-up to [61645].

Reviewed by joedolson.
Merges [62400] to the 7.0 branch.

Props andrewssanya, sainathpoojary, wildworks.
See #64999.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

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

    r61657 r62602  
    405405        <label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label>
    406406        <input type="search" id="<?php echo esc_attr( $input_id ); ?>" name="s" value="<?php _admin_search_query(); ?>" />
    407                 <?php submit_button( $text, '', '', false, array( 'id' => 'search-submit' ) ); ?>
     407                <?php submit_button( $text, 'button-compact', '', false, array( 'id' => 'search-submit' ) ); ?>
    408408</p>
    409409                <?php
     
    621621                echo "</select>\n";
    622622
    623                 submit_button( __( 'Apply' ), 'action', 'bulk_action', false, array( 'id' => "doaction$two" ) );
     623                submit_button( __( 'Apply' ), 'action button-compact', 'bulk_action', false, array( 'id' => "doaction$two" ) );
    624624                echo "\n";
    625625        }
Note: See TracChangeset for help on using the changeset viewer.