WordPress.org

Make WordPress Core

Ticket #32843: 32843.diff

File 32843.diff, 1.9 KB (added by valendesigns, 6 years ago)
  • src/wp-admin/css/customize-controls.css

    diff --git src/wp-admin/css/customize-controls.css src/wp-admin/css/customize-controls.css
    index 5e0eb68..65fca2e 100644
    body { 
    227227        background: #fff;
    228228}
    229229
     230.customize-section-description {
     231        margin: 1em 0;
     232}
     233
     234.customize-section-description p:first-child {
     235        margin-top: 0;
     236}
     237
     238.customize-section-description p:last-child {
     239        margin-bottom: 0;
     240}
     241
    230242#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
    231243        border-bottom: 1px solid #ddd;
    232244        padding: 12px 12px 12px 12px;
  • src/wp-admin/css/customize-nav-menus.css

    diff --git src/wp-admin/css/customize-nav-menus.css src/wp-admin/css/customize-nav-menus.css
    index c266bb7..07c0fa6 100644
     
    407407.menu-item-depth-10 > .menu-item-bar { margin-right: 200px; }
    408408.menu-item-depth-11 > .menu-item-bar { margin-right: 220px; }
    409409
     410/* Hide the transport list when it's empty */
     411.menu-item .menu-item-transport:empty { display: none; }
     412
    410413/* Submenu left margin. */
    411 /* @todo menu-item-transport seems entirely unused. */
    412414.menu-item-depth-0  .menu-item-transport { margin-left: 0;      }
    413415.menu-item-depth-1  .menu-item-transport { margin-left: -20px;  }
    414416.menu-item-depth-3  .menu-item-transport { margin-left: -60px;  }
  • src/wp-includes/class-wp-customize-section.php

    diff --git src/wp-includes/class-wp-customize-section.php src/wp-includes/class-wp-customize-section.php
    index 8254187..dc0e9ee 100644
    class WP_Customize_Section { 
    359359                                                </h3>
    360360                                        </div>
    361361                                        <# if ( data.description ) { #>
    362                                                 <p class="description customize-section-description">{{{ data.description }}}</p>
     362                                                <div class="description customize-section-description">
     363                                                        {{{ data.description }}}
     364                                                </div>
    363365                                        <# } #>
    364366                                </li>
    365367                        </ul>