Menus screen: improve responsiveness of select elements.

Props Luan-Ramos, sagarjadhav.
Fixes #31826.

git-svn-id: https://develop.svn.wordpress.org/trunk@36264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2016-01-11 23:04:40 +00:00
parent e6297676fb
commit 6c2876acce
1 changed files with 20 additions and 23 deletions

View File

@ -86,19 +86,18 @@ ul.add-menu-item-tabs li {
background: #fbfbfb;
}
.manage-menus select {
float: left;
margin-right: 6px;
.manage-menus .selected-menu,
.manage-menus select,
.manage-menus .submit-btn,
.nav-menus-php .add-new-menu-action {
display: inline-block;
margin-right: 3px;
vertical-align: middle;
}
.manage-menus .selected-menu {
float: left;
margin: 5px 6px 0 0;
}
.manage-menus .submit-btn {
float: left;
margin-top: 1px;
.manage-menus select,
.menu-location-menus select {
max-width: 100%;
}
.menu-edit #post-body-content h3 {
@ -212,12 +211,8 @@ ul.add-menu-item-tabs li {
margin-top: -2px;
}
.widefat .menu-locations tr + tr td {
padding-top: 0;
}
.widefat .menu-locations td {
vertical-align: middle;
.widefat .menu-locations .menu-location-title {
padding: 13px 10px 0;
}
.menu-location-title label {
@ -308,12 +303,6 @@ ul.add-menu-item-tabs li {
padding: 0;
}
.nav-menus-php .add-new-menu-action {
float: left;
margin: 6px 0 0 6px;
line-height: 15px;
}
.nav-menus-php .meta-sep,
.nav-menus-php .submitdelete,
.nav-menus-php .submitcancel {
@ -923,6 +912,14 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
margin-left: 0;
margin-bottom: 15px;
}
.manage-menus select {
margin: 0.5em 0;
}
.widefat .menu-locations .menu-location-title {
padding-top: 16px;
}
}
@media only screen and (max-width: 768px) {