WordPress.org

Make WordPress Core

Ticket #32843: 32843.2.diff

File 32843.2.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..00e7d04 100644
    body { 
    227227        background: #fff;
    228228}
    229229
     230div.customize-section-description {
     231        margin: 22px 0 1em 0;
     232}
     233
     234div.customize-section-description p:first-child {
     235        margin-top: 0;
     236}
     237
     238div.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 136f94e..135cca7 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 d98d3bd..7f2d52c 100644
    class WP_Customize_Section { 
    363363                                                </h3>
    364364                                        </div>
    365365                                        <# if ( data.description ) { #>
    366                                                 <p class="description customize-section-description">{{{ data.description }}}</p>
     366                                                <div class="description customize-section-description">
     367                                                        {{{ data.description }}}
     368                                                </div>
    367369                                        <# } #>
    368370                                </li>
    369371                        </ul>