Make WordPress Core

Changeset 62697


Ignore:
Timestamp:
07/12/2026 08:55:19 PM (5 weeks ago)
Author:
joedolson
Message:

Plugins: Fix alignment of Favorites input and submit.

Fix the alignment of the label, input field, and Submit button for getting your user favorites in the plugins screen. Modernizes layout to use flex layout and improves small viewports.

Developed in https://github.com/WordPress/wordpress-develop/pull/11806

Props bayejid00, deepakprajapati, shreyasikhar26, tusharaddweb, joedolson, sabernhardt.
Fixes #65231.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r62691 r62697  
    11991199}
    12001200
    1201 .wp-filter .favorites-form .favorites-username {
     1201.wp-filter .favorites-form .favorites-username,
     1202.plugin-install-tab-favorites .favorites-username {
    12021203        display: flex;
    12031204        align-items: center;
     
    12061207}
    12071208
    1208 .wp-filter .favorites-form .favorites-username input {
     1209.wp-filter .favorites-form .favorites-username input,
     1210.plugin-install-tab-favorites .favorites-username input {
    12091211        margin: 0;
    12101212}
  • trunk/src/wp-admin/includes/plugin-install.php

    r62516 r62697  
    371371        <form method="get">
    372372                <input type="hidden" name="tab" value="favorites" />
    373                 <p>
     373                <p class="favorites-username">
    374374                        <label for="user"><?php _e( 'Your WordPress.org username:' ); ?></label>
    375375                        <input type="search" id="user" name="user" value="<?php echo esc_attr( $user ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.