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.


git-svn-id: https://develop.svn.wordpress.org/trunk@42817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Adam Silverstein 2018-03-09 17:05:38 +00:00
parent 5816caddcf
commit fd1681f0cf
1 changed files with 2 additions and 1 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;
}