Customizer menus: correct oversized viewport after dragging menu items.

Fix an issue where the screen viewport resized to an oversized state on mobile devices after moving sub-menus.

Merge of [42817] to the 4.9 branch.

Props adamsilverstein, kwonye.
Fixes #36884.
Built from https://develop.svn.wordpress.org/branches/4.9@42850


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2018-03-18 16:49:41 +00:00
parent 1410e91992
commit baba344254
5 changed files with 7 additions and 5 deletions

View File

@ -785,7 +785,8 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
}
@media screen and ( max-width: 782px ) {
body.nav-menus-php {
body.nav-menus-php,
body.wp-customizer {
min-width: 0 !important;
}

File diff suppressed because one or more lines are too long

View File

@ -785,7 +785,8 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
}
@media screen and ( max-width: 782px ) {
body.nav-menus-php {
body.nav-menus-php,
body.wp-customizer {
min-width: 0 !important;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.5-alpha-42849';
$wp_version = '4.9.5-alpha-42850';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.