Fix the search field width in the media modal, media library grid and on the install new plugins screen. Props helen, fixes #30658.

git-svn-id: https://develop.svn.wordpress.org/trunk@30813 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-12-11 04:11:28 +00:00
parent bd80506437
commit 9bda766f54
5 changed files with 45 additions and 54 deletions

View File

@@ -954,6 +954,10 @@ th.action-links {
margin-right: 20px;
}
.filter-items {
float: left;
}
.filter-links {
display: inline-block;
margin: 0;
@@ -988,23 +992,22 @@ th.action-links {
}
.wp-filter .search-form {
margin: 10px;
position: absolute;
right: 0;
top: 0;
float: right;
margin: 10px 0;
}
.wp-filter .search-form input[type="search"] {
margin: 0;
padding: 3px 5px;
max-width: 280px;
width: 100%;
width: 280px;
max-width: 100%;
font-size: 16px;
font-weight: 300;
line-height: 1.5;
}
.wp-filter .search-form select {
margin: 0;
height: 33px;
vertical-align: top;
}
@@ -1205,11 +1208,17 @@ th.action-links {
}
}
@media only screen and (max-width: 910px) {
@media only screen and (max-width: 1000px) {
.filter-items {
float: none;
}
.wp-filter .media-toolbar-primary,
.wp-filter .media-toolbar-secondary,
.wp-filter .search-form {
float: none; /* Remove float from media-views.css */
position: relative;
margin: 20px 0;
max-width: 100%;
}
}

View File

@@ -630,7 +630,7 @@ classes exist in paginate_links() but not seen in list table output. */
.wp-filter .view-switch {
display: inline-block;
vertical-align: middle;
padding: 14px 0;
padding: 15px 0;
margin: 0 20px 0 0;
}

View File

@@ -1126,10 +1126,6 @@ audio, video {
*/
@media only screen and (max-width: 1120px) {
.media-frame.mode-grid .attachments-browser .media-toolbar-secondary {
float: none;
}
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
max-width: 100%;