Menus: Make menu items not jump while dragging items.
Props alexvorn2, welcher, afercia. Fixes #41160. Built from https://develop.svn.wordpress.org/trunk@44567 git-svn-id: http://core.svn.wordpress.org/trunk@44398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4f861b9548
commit
298ef1992e
|
@ -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 */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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 */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44566';
|
||||
$wp_version = '5.1-beta1-44567';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue