Customizer: Force top margin to be zero for a new created nav menu to avoid extra spacing.
props valendesigns. fixes #32662. Built from https://develop.svn.wordpress.org/trunk@33157 git-svn-id: http://core.svn.wordpress.org/trunk@33129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9868325217
commit
0ca06cd643
|
@ -449,6 +449,11 @@
|
||||||
.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
|
.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
|
||||||
.reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; }
|
.reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; }
|
||||||
|
|
||||||
|
/* Forces top margin to be zero for new menu */
|
||||||
|
.control-section-nav_menu.open .menu {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.control-section-nav_menu .menu .menu-item-edit-active {
|
.control-section-nav_menu .menu .menu-item-edit-active {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -449,6 +449,11 @@
|
||||||
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
|
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
|
||||||
.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
|
.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
|
||||||
|
|
||||||
|
/* Forces top margin to be zero for new menu */
|
||||||
|
.control-section-nav_menu.open .menu {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.control-section-nav_menu .menu .menu-item-edit-active {
|
.control-section-nav_menu .menu .menu-item-edit-active {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta2-33156';
|
$wp_version = '4.3-beta2-33157';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue