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

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

Built from https://develop.svn.wordpress.org/trunk@41817


git-svn-id: http://core.svn.wordpress.org/trunk@41651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-10-10 23:45:51 +00:00
parent c1ede53374
commit 5bde734323
9 changed files with 33 additions and 29 deletions

View File

@ -973,6 +973,11 @@ p.customize-section-description {
margin-top: 7px;
}
.customize-control-radio label,
.customize-control-checkbox label {
vertical-align: top;
}
.customize-control .attachment-thumb.type-icon {
float: right;
margin: 10px;
@ -2684,6 +2689,10 @@ body.adding-widget .add-new-widget:before,
display: inline;
}
.customize-control-header button.random .dice {
margin-top: 0;
}
.customize-control-radio .customize-inside-control-row,
.customize-control-checkbox .customize-inside-control-row,
.customize-control-nav_menu_auto_add .customize-inside-control-row {
@ -2696,9 +2705,9 @@ body.adding-widget .add-new-widget:before,
margin-right: -32px;
}
.customize-control input[type="radio"] + label,
.customize-control input[type="checkbox"] + label {
line-height: 32px;
.customize-control input[type="radio"] + label + br,
.customize-control input[type="checkbox"] + label + br {
line-height: 32px; /* For widgets checkboxes */
}
.customize-control .date-time-fields select {

File diff suppressed because one or more lines are too long

View File

@ -973,6 +973,11 @@ p.customize-section-description {
margin-top: 7px;
}
.customize-control-radio label,
.customize-control-checkbox label {
vertical-align: top;
}
.customize-control .attachment-thumb.type-icon {
float: left;
margin: 10px;
@ -2684,6 +2689,10 @@ body.adding-widget .add-new-widget:before,
display: inline;
}
.customize-control-header button.random .dice {
margin-top: 0;
}
.customize-control-radio .customize-inside-control-row,
.customize-control-checkbox .customize-inside-control-row,
.customize-control-nav_menu_auto_add .customize-inside-control-row {
@ -2696,9 +2705,9 @@ body.adding-widget .add-new-widget:before,
margin-left: -32px;
}
.customize-control input[type="radio"] + label,
.customize-control input[type="checkbox"] + label {
line-height: 32px;
.customize-control input[type="radio"] + label + br,
.customize-control input[type="checkbox"] + label + br {
line-height: 32px; /* For widgets checkboxes */
}
.customize-control .date-time-fields select {

File diff suppressed because one or more lines are too long

View File

@ -215,15 +215,8 @@
padding-top: 12px;
}
.menu-settings .customize-control-checkbox label,
.menu-location-settings .customize-control-checkbox label {
line-height: 1;
}
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox,
.menu-location-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.customize-control-menu {

File diff suppressed because one or more lines are too long

View File

@ -215,15 +215,8 @@
padding-top: 12px;
}
.menu-settings .customize-control-checkbox label,
.menu-location-settings .customize-control-checkbox label {
line-height: 1;
}
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox,
.menu-location-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.customize-control-menu {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta1-41816';
$wp_version = '4.9-beta1-41817';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.