mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
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
This commit is contained in:
parent
fdec267246
commit
2dc568464e
@ -1118,7 +1118,8 @@ th.action-links {
|
||||
}
|
||||
|
||||
.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;
|
||||
margin-top: 10px;
|
||||
vertical-align: top;
|
||||
|
Loading…
x
Reference in New Issue
Block a user