From fd1681f0cfd98a3fce10d1b80280e79aa0bf8443 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Fri, 9 Mar 2018 17:05:38 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/nav-menus.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/nav-menus.css b/src/wp-admin/css/nav-menus.css index 77c6274c24..4021b03b94 100644 --- a/src/wp-admin/css/nav-menus.css +++ b/src/wp-admin/css/nav-menus.css @@ -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; }