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:
Andrea Fercia 2019-01-11 13:56:49 +00:00
parent 4f861b9548
commit 298ef1992e
5 changed files with 7 additions and 7 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 */

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

View File

@ -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.