From d78fa597468950f6d670b330445fcbc4b3ce58ae Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 11 Jan 2019 13:55:28 +0000 Subject: [PATCH] Menus: Make menu items not jump while dragging items. Props alexvorn2, welcher, afercia. Fixes #41160. git-svn-id: https://develop.svn.wordpress.org/trunk@44567 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/nav-menus.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/nav-menus.css b/src/wp-admin/css/nav-menus.css index 784b614994..51e912fc0f 100644 --- a/src/wp-admin/css/nav-menus.css +++ b/src/wp-admin/css/nav-menus.css @@ -492,13 +492,13 @@ li.menu-item.ui-sortable-helper .menu-item-bar { } li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { - margin-top: 13px; + margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ } .menu .sortable-placeholder { height: 35px; width: 410px; - margin-top: 13px; + margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ } /* Hide the transport list when it's empty */