Make WordPress Core

Ticket #41614: 41614.4.diff

File 41614.4.diff, 1.3 KB (added by mrahmadawais, 7 years ago)

FIX: Button Spacing for Image Media Widget & Widget List Margin on Small/Tab Screens

  • src/wp-admin/css/customize-controls.css

    diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css
    index c1aa128a34..8c8508d63d 100644
    a b body.adding-widget .add-new-widget:before, 
    17751775#available-widgets .widget-tpl,
    17761776#available-menu-items .item-tpl {
    17771777        position: relative;
    1778         padding: 20px 15px 20px 60px;
     1778        padding: 15px 15px 15px 60px;
    17791779        background: #fff;
    17801780        border-bottom: 1px solid #ddd;
    17811781        border-left: 4px solid #fff;
    body.adding-widget .add-new-widget:before, 
    18231823        .customize-control input[type="checkbox"] + label {
    18241824                line-height: 32px;
    18251825        }
     1826
     1827        .wp-core-ui.wp-customizer .button {
     1828                margin-top: 12px;
     1829        }
    18261830}
    18271831
    18281832@media screen and ( max-width: 640px ) {
    body.adding-widget .add-new-widget:before, 
    19051909                vertical-align: middle;
    19061910                height: auto;
    19071911                margin-bottom: 4px;
     1912                margin-top: 12px;
    19081913        }
    19091914
    19101915        #customize-header-actions .button-primary {
  • src/wp-admin/css/widgets.css

    diff --git a/src/wp-admin/css/widgets.css b/src/wp-admin/css/widgets.css
    index f31b63c881..babce80060 100644
    a b ul.CodeMirror-hints { 
    688688        }
    689689
    690690        div.widget {
    691                 margin: 0 auto 10px !important;
     691                margin: 0 auto !important;
    692692                max-width: 480px;
    693693        }
    694694}