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.



Built from https://develop.svn.wordpress.org/trunk@59706


git-svn-id: http://core.svn.wordpress.org/trunk@59048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2025-01-25 14:12:19 +00:00
parent 471cffffcc
commit 130a7a8567
5 changed files with 15 additions and 13 deletions

View File

@ -1116,11 +1116,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 {
@ -1353,6 +1348,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;

File diff suppressed because one or more lines are too long

View File

@ -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 {
@ -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;

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59705';
$wp_version = '6.8-alpha-59706';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.