diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 51ec281916..90c69c6910 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -710,12 +710,18 @@ p.customize-section-description { padding-top: 7px; } +/* Remove descender space. */ .customize-control .thumbnail-image, .customize-control-header .current, .customize-control .wp-media-wrapper.wp-video { line-height: 0; } +/* Remove descender space. */ +.customize-control-site_icon .favicon-preview .browser-preview { + vertical-align: top; +} + .customize-control .thumbnail-image img { cursor: pointer; } diff --git a/src/wp-includes/customize/class-wp-customize-header-image-control.php b/src/wp-includes/customize/class-wp-customize-header-image-control.php index b87a7bb35a..2fe55f4204 100644 --- a/src/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/src/wp-includes/customize/class-wp-customize-header-image-control.php @@ -204,8 +204,7 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
- -
+
diff --git a/src/wp-includes/customize/class-wp-customize-media-control.php b/src/wp-includes/customize/class-wp-customize-media-control.php index f3ec32b41d..52feea8a33 100644 --- a/src/wp-includes/customize/class-wp-customize-media-control.php +++ b/src/wp-includes/customize/class-wp-customize-media-control.php @@ -192,7 +192,6 @@ class WP_Customize_Media_Control extends WP_Customize_Control { <# if ( data.canUpload ) { #> -
<# } #>
@@ -208,7 +207,6 @@ class WP_Customize_Media_Control extends WP_Customize_Control { <# if ( data.canUpload ) { #> <# } #> -
<# } #> diff --git a/src/wp-includes/customize/class-wp-customize-site-icon-control.php b/src/wp-includes/customize/class-wp-customize-site-icon-control.php index 5f18563b14..ec662776d0 100644 --- a/src/wp-includes/customize/class-wp-customize-site-icon-control.php +++ b/src/wp-includes/customize/class-wp-customize-site-icon-control.php @@ -62,7 +62,7 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control <# if ( data.attachment && data.attachment.id ) { #>
<# if ( data.attachment.sizes ) { #> -
+
@@ -78,7 +78,6 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control <# if ( data.canUpload ) { #> -
<# } #>
@@ -94,7 +93,6 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control <# if ( data.canUpload ) { #> <# } #> -
<# } #>