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.
Built from https://develop.svn.wordpress.org/trunk@57144


git-svn-id: http://core.svn.wordpress.org/trunk@56655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
hellofromTonya 2023-11-29 16:45:26 +00:00
parent b7a29ea18c
commit 064b90c078
5 changed files with 7 additions and 5 deletions

View File

@ -1119,7 +1119,8 @@ th.action-links {
} }
.wp-filter .search-form.search-plugins select, .wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search { .wp-filter .search-form.search-plugins .wp-filter-search,
.no-js .wp-filter .search-form.search-plugins .button {
display: inline-block; display: inline-block;
margin-top: 10px; margin-top: 10px;
vertical-align: top; vertical-align: top;

File diff suppressed because one or more lines are too long

View File

@ -1118,7 +1118,8 @@ th.action-links {
} }
.wp-filter .search-form.search-plugins select, .wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search { .wp-filter .search-form.search-plugins .wp-filter-search,
.no-js .wp-filter .search-form.search-plugins .button {
display: inline-block; display: inline-block;
margin-top: 10px; margin-top: 10px;
vertical-align: top; vertical-align: top;

File diff suppressed because one or more lines are too long

View File

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