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:
parent
33caf61b8b
commit
d78fa59746
@ -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 {
|
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 {
|
.menu .sortable-placeholder {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
width: 410px;
|
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 */
|
/* Hide the transport list when it's empty */
|
||||||
|
Loading…
Reference in New Issue
Block a user