Make WordPress Core

Changeset 57144


Ignore:
Timestamp:
11/29/2023 04:43:15 PM (5 months ago)
Author:
hellofromTonya
Message:

Plugins: Fix Add Plugin search button pos when JS off.

When JavaScript is disabled, the Add Plugins screen's search button position was too high in comparison to the search text field. This fix reuses the CSS declaration to keep field and button aligned.

By targeting the .no-js class, the CSS specificity is not impacted when JavaScript is enabled.

Follow up to [48281], [30830].

Props devmuhib, sabernhardt, huzaifaalmesbah, hellofromTonya.
Fixes #59967.

File:
1 edited

Legend:

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

    r56956 r57144  
    11191119
    11201120.wp-filter .search-form.search-plugins select,
    1121 .wp-filter .search-form.search-plugins .wp-filter-search {
     1121.wp-filter .search-form.search-plugins .wp-filter-search,
     1122.no-js .wp-filter .search-form.search-plugins .button {
    11221123    display: inline-block;
    11231124    margin-top: 10px;
Note: See TracChangeset for help on using the changeset viewer.