Skip to content

Commit d445d39

Browse files
committed
General: Improve search input alignment on mobile.
Remove an end margin misalignment on the search input for posts, comments, themes, and plugins. Props ronak44, sourav08, dilipbheda, SirLouen, nikunj8866, darshitrajyaguru97, rollybueno, shailu25, sabernhardt, joedolson. Fixes #63310. git-svn-id: https://develop.svn.wordpress.org/trunk@60975 602fd350-edb4-49c9-b593-d223f7449a82
1 parent fb9220f commit d445d39

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/wp-admin/css/forms.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ p.search-box {
727727
clear: left;
728728
}
729729

730-
.search-box input[name="s"],
731730
.tablenav .search-plugins input[name="s"],
732731
.tagsdiv .newtag {
733732
float: left;
@@ -1653,11 +1652,15 @@ table.form-table td .updated p {
16531652
}
16541653

16551654
p.search-box input[name="s"] {
1656-
float: none;
16571655
width: 100%;
1656+
float: none;
16581657
margin-bottom: 10px;
16591658
vertical-align: middle;
16601659
}
1660+
.js.plugins-php .search-box .wp-filter-search {
1661+
width: 100%;
1662+
margin-bottom: 0;
1663+
}
16611664

16621665
p.search-box input[type="submit"] {
16631666
margin-bottom: 10px;

src/wp-admin/css/themes.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -961,12 +961,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
961961
}
962962

963963
.themes-php .wp-filter-search {
964-
float: none;
965-
clear: both;
966-
left: 0;
967-
right: 0;
968964
width: 100%;
969-
max-width: 280px;
970965
}
971966

972967
.theme-install-php .wp-filter p.search-box {

0 commit comments

Comments
 (0)