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
This commit is contained in:
Andrea Fercia 2019-01-11 13:55:28 +00:00
parent 33caf61b8b
commit d78fa59746
1 changed files with 2 additions and 2 deletions

View File

@ -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 */