From c40301f1a06055bbd5d2cbcd7a08cdc8478aeb7b Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Thu, 16 Jul 2015 19:14:31 +0000 Subject: [PATCH] Customizer: Ensure consistent margins in sections. Since the customizer dynamically changes, `nth-child` selectors are not always a great idea. props afercia. fixes #32902. git-svn-id: https://develop.svn.wordpress.org/trunk@33297 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/customize-controls.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 4635efd073..b815b58ef6 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -222,7 +222,7 @@ body { } .customize-section-title { - margin: -12px; + margin: -12px -12px 0 -12px; border-bottom: 1px solid #ddd; background: #fff; } @@ -256,10 +256,6 @@ h3.customize-section-title { color: #555; } -#customize-theme-controls .control-section .accordion-section-content > li.customize-control:nth-child(2) { - margin-top: 12px; -} - #customize-theme-controls { position: relative; left: 0;