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.

Props kwonye.
Fixes #36884.

Built from https://develop.svn.wordpress.org/trunk@42817


git-svn-id: http://core.svn.wordpress.org/trunk@42647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Adam Silverstein 2018-03-09 17:06:30 +00:00
parent d1d60bb22c
commit 6751be3561
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 ) { @media screen and ( max-width: 782px ) {
body.nav-menus-php { body.nav-menus-php,
body.wp-customizer {
min-width: 0 !important; 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 ) { @media screen and ( max-width: 782px ) {
body.nav-menus-php { body.nav-menus-php,
body.wp-customizer {
min-width: 0 !important; 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 * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42816'; $wp_version = '5.0-alpha-42817';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.