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:
Dominik Schilling 2015-07-10 22:18:24 +00:00
parent 9868325217
commit 0ca06cd643
5 changed files with 13 additions and 3 deletions

View File

@ -449,6 +449,11 @@
.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
.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 {
margin-right: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -449,6 +449,11 @@
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
.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 {
margin-left: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @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.