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:
@@ -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;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
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-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;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-nav-menus.min.css
vendored
2
wp-admin/css/customize-nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user