From c854c33f821b3a413645f5710634f0c3274121b6 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 11 Nov 2015 09:36:53 +0000 Subject: [PATCH] Customize: Prevent multi-line checkbox control labels from wrapping under checkbox. Props bordoni. Fixes #34607. git-svn-id: https://develop.svn.wordpress.org/trunk@35608 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/customize-controls.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 0869002ec0..b1a19f5e3b 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -546,13 +546,23 @@ p.customize-section-description { } .customize-control-color .color-picker, -.customize-control-checkbox label, .customize-control-upload div { line-height: 28px; } -.customize-control-checkbox input { - margin-right: 5px; +.customize-control-checkbox label, +.customize-control-nav_menu_auto_add label { + line-height: 20px; + display: block; + margin-left: 24px; + padding-top: 4px; + padding-bottom: 4px; +} + +.customize-control-checkbox input, +.customize-control-nav_menu_auto_add input { + margin-right: 4px; + margin-left: -24px; } .customize-control-radio {