Skip to content

Commit 08a292b

Browse files
author
audrasjb
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59706 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9465b37 commit 08a292b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/wp-admin/css/common.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,11 +1115,6 @@ th.action-links {
11151115
align-items: center;
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,
11251120
.no-js .wp-filter .search-form.search-plugins .button {
@@ -1352,6 +1347,12 @@ th.action-links {
13521347
float: none;
13531348
}
13541349

1350+
@media only screen and (max-width: 1138px) {
1351+
.wp-filter .search-form {
1352+
margin: 11px 0;
1353+
}
1354+
}
1355+
13551356
@media only screen and (max-width: 1120px) {
13561357
.filter-drawer {
13571358
border-bottom: 1px solid #f0f0f1;

0 commit comments

Comments
 (0)