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-screen.php

    r62268 r62400  
    970970                <?php if ( $this->show_screen_options() ) : ?>
    971971                        <div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle">
    972                         <button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button>
     972                        <button type="button" id="show-settings-link" class="button button-compact show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button>
    973973                        </div>
    974974                        <?php
    … …  
    977977                        ?>
    978978                        <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
    979                         <button type="button" id="contextual-help-link" class="button show-settings" aria-controls="contextual-help-wrap" aria-expanded="false"><?php _e( 'Help' ); ?></button>
     979                        <button type="button" id="contextual-help-link" class="button button-compact show-settings" aria-controls="contextual-help-wrap" aria-expanded="false"><?php _e( 'Help' ); ?></button>
    980980                        </div>
    981981                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.