Make WordPress Core

Changeset 59022


Ignore:
Timestamp:
09/15/2024 01:47:36 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Themes: Improve the alignment of feature filters and inputs on Add Themes screen.

Follow-up to [35527], [38640], [40797].

Props Benjamin_Zekavica, sabernhardt, sumitsingh, gauravtiwari, krupajnanda, audrasjb, SergeyBiryukov.
Fixes #53314.

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

Legend:

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

    r58929 r59022  
    11811181}
    11821182
     1183.wp-filter .favorites-form .favorites-username {
     1184        display: flex;
     1185        align-items: center;
     1186        flex-wrap: wrap;
     1187        gap: 0.5rem;
     1188}
     1189
     1190.wp-filter .favorites-form .favorites-username input {
     1191        margin: 0;
     1192}
     1193
    11831194.show-filters .filter-drawer,
    11841195.show-favorites-form .favorites-form {
    … …  
    12891300
    12901301.filtered-by .tags {
    1291         display: inline;
     1302        display: flex;
     1303        align-items: flex-start;
     1304        flex-wrap: wrap;
     1305        gap: 8px;
    12921306}
    12931307
    12941308.filtered-by .tag {
    1295         margin: 0 5px;
    12961309        padding: 4px 8px;
    12971310        border: 1px solid #dcdcde;
    … …  
    13081321
    13091322.filters-applied .filtered-by {
    1310         display: block;
     1323        display: flex;
     1324        align-items: center;
     1325        flex-wrap: wrap;
     1326        gap: 10px;
    13111327}
    13121328
  • trunk/src/wp-admin/theme-install.php

    r58405 r59022  
    231231                        <p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p>
    232232
    233                         <p>
     233                        <p class="favorites-username">
    234234                                <label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label>
    235235                                <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.