Make WordPress Core


Ignore:
Timestamp:
05/21/2026 10:21:00 AM (5 months ago)
Author:
wildworks
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].

Props andrewssanya, sainathpoojary, wildworks.
See #64999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r61657 r62400  
    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.