Skip to content

Commit

Permalink
Plugins: Improve search box margin behavior in the Add Plugins screen.
Browse files Browse the repository at this point in the history
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.




git-svn-id: https://develop.svn.wordpress.org/trunk@59706 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Jan 25, 2025
1 parent 9465b37 commit 08a292b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -1115,11 +1115,6 @@ th.action-links {
align-items: center;
}

.wp-filter .search-form.search-plugins {
/* This element is a flex item: the inherited float won't have any effect. */
margin-top: 0;
}

.wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search,
.no-js .wp-filter .search-form.search-plugins .button {
Expand Down Expand Up @@ -1352,6 +1347,12 @@ th.action-links {
float: none;
}

@media only screen and (max-width: 1138px) {
.wp-filter .search-form {
margin: 11px 0;
}
}

@media only screen and (max-width: 1120px) {
.filter-drawer {
border-bottom: 1px solid #f0f0f1;
Expand Down

0 comments on commit 08a292b

Please sign in to comment.