Skip to content

Commit 2dc5684

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57144 602fd350-edb4-49c9-b593-d223f7449a82
1 parent fdec267 commit 2dc5684

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/wp-admin/css/common.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,8 @@ th.action-links {
11181118
}
11191119

11201120
.wp-filter .search-form.search-plugins select,
1121-
.wp-filter .search-form.search-plugins .wp-filter-search {
1121+
.wp-filter .search-form.search-plugins .wp-filter-search,
1122+
.no-js .wp-filter .search-form.search-plugins .button {
11221123
display: inline-block;
11231124
margin-top: 10px;
11241125
vertical-align: top;

0 commit comments

Comments
 (0)