WordPress.org

Make WordPress Core

Changeset 41817


Ignore:
Timestamp:
10/10/17 23:44:35 (3 months ago)
Author:
westonruter
Message:

Customize: Fix vertical alignment of radio and checkbox inputs after [41740].

Props Shital Patel, subrataemfluence, sayedwp.
Amends [41740].
See #33085.
Fixes #42157.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r41802 r41817  
    972972.customize-control-radio .customize-control-title + .customize-control-description { 
    973973    margin-top: 7px; 
     974} 
     975 
     976.customize-control-radio label, 
     977.customize-control-checkbox label { 
     978    vertical-align: top; 
    974979} 
    975980 
     
    26852690    } 
    26862691 
     2692    .customize-control-header button.random .dice { 
     2693        margin-top: 0; 
     2694    } 
     2695 
    26872696    .customize-control-radio .customize-inside-control-row, 
    26882697    .customize-control-checkbox .customize-inside-control-row, 
     
    26972706    } 
    26982707 
    2699     .customize-control input[type="radio"] + label, 
    2700     .customize-control input[type="checkbox"] + label { 
    2701         line-height: 32px; 
     2708    .customize-control input[type="radio"] + label + br, 
     2709    .customize-control input[type="checkbox"] + label + br { 
     2710        line-height: 32px; /* For widgets checkboxes */ 
    27022711    } 
    27032712 
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r41768 r41817  
    216216} 
    217217 
    218 .menu-settings .customize-control-checkbox label, 
    219 .menu-location-settings .customize-control-checkbox label { 
    220     line-height: 1; 
    221 } 
    222  
    223 /* @todo update selector or potentially remove */ 
    224 .menu-settings .customize-control.customize-control-checkbox, 
    225 .menu-location-settings .customize-control.customize-control-checkbox { 
    226     margin-bottom: 8px; /* Override collapsing at smaller viewports. */ 
     218.customize-control-nav_menu_auto_add label { 
     219    vertical-align: top; 
    227220} 
    228221 
Note: See TracChangeset for help on using the changeset viewer.