Customizer: Hide the transport list when it's empty, especially for screen readers.

Also prevent invalid markup for `.customize-section-description`.

Props valendesigns.
Fixes #32843.


git-svn-id: https://develop.svn.wordpress.org/trunk@33282 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2015-07-15 19:58:42 +00:00
parent 8c36e7b3c4
commit d9fcddae25
4 changed files with 20 additions and 2 deletions
+12
View File
@@ -227,6 +227,18 @@ body {
background: #fff;
}
div.customize-section-description {
margin-top: 22px;
}
div.customize-section-description p:first-child {
margin-top: 0;
}
div.customize-section-description p:last-child {
margin-bottom: 0;
}
#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
border-bottom: 1px solid #ddd;
padding: 12px 12px 12px 12px;