Make WordPress Core

Changeset 59706


Ignore:
Timestamp:
01/25/2025 02:10:01 PM (8 weeks ago)
Author:
audrasjb
Message:

Plugins: Improve search box margin behavior in the Add Plugins screen.

This changeset fixes a margin issue in the search input box on the Add New Plugins screen, which was previously breaking below 1138px. Specifically, the top margin was set to 0px, and the overall appearance of the search box was inconsistent between 1000px and 1138px. Now, the margin is consistent across all breakpoints.

Props jomonthomaslobo1, narenin, iflairwebtechnologies, peterwilsoncc, audrasjb, shailu25.
Fixes #61785.

File:
1 edited

Legend:

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

    r59705 r59706  
    11161116}
    11171117
    1118 .wp-filter .search-form.search-plugins {
    1119     /* This element is a flex item: the inherited float won't have any effect. */
    1120     margin-top: 0;
    1121 }
    1122 
    11231118.wp-filter .search-form.search-plugins select,
    11241119.wp-filter .search-form.search-plugins .wp-filter-search,
     
    13511346    margin: 40px auto 0;
    13521347    float: none;
     1348}
     1349
     1350@media only screen and (max-width: 1138px) {
     1351    .wp-filter .search-form {
     1352        margin: 11px 0;
     1353    }
    13531354}
    13541355
Note: See TracChangeset for help on using the changeset viewer.