Make WordPress Core

Changeset 33157


Ignore:
Timestamp:
07/10/2015 10:17:26 PM (9 years ago)
Author:
ocean90
Message:

Customizer: Force top margin to be zero for a new created nav menu to avoid extra spacing.

props valendesigns.
fixes #32662.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r33153 r33157  
    450450.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
    451451
     452/* Forces top margin to be zero for new menu */
     453.control-section-nav_menu.open .menu {
     454    margin-top: 0 !important;
     455}
     456
    452457.control-section-nav_menu .menu .menu-item-edit-active {
    453458    margin-left: 0;
Note: See TracChangeset for help on using the changeset viewer.