Make WordPress Core

Changeset 41602


Ignore:
Timestamp:
09/26/2017 07:04:47 PM (7 years ago)
Author:
melchoyce
Message:

Customizer: Improve small-screen styles in Widgets panel.

Props mrasharirfan, mrahmadawais.
Fixes #41614.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r41586 r41602  
    14901490    cursor: pointer;
    14911491    float: right;
     1492    margin: 0;
    14921493    margin-left: 10px;
    14931494    transition: all 0.2s;
     
    15131514    position: relative;
    15141515    left: -2px;
    1515     top: -1px;
     1516    top: 0;
    15161517    font: normal 20px/1 dashicons;
    15171518    vertical-align: middle;
     
    17941795#available-menu-items .item-tpl {
    17951796    position: relative;
    1796     padding: 20px 15px 20px 60px;
     1797    padding: 15px 15px 15px 60px;
    17971798    background: #fff;
    17981799    border-bottom: 1px solid #ddd;
     
    18411842    .customize-control input[type="checkbox"] + label {
    18421843        line-height: 32px;
     1844    }
     1845
     1846    .wp-core-ui.wp-customizer .button {
     1847        margin-top: 12px;
    18431848    }
    18441849}
     
    19241929        height: auto;
    19251930        margin-bottom: 4px;
     1931        margin-top: 12px;
    19261932    }
    19271933
     
    19871993        top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
    19881994    }
    1989 }
     1995
     1996    .reorder,
     1997    .reordering .reorder-done {
     1998        padding: 8px;
     1999    }
     2000}
  • trunk/src/wp-admin/css/widgets.css

    r41590 r41602  
    754754
    755755    div.widget {
    756         margin: 0 auto 10px !important;
     756        margin: 0 auto !important;
    757757        max-width: 480px;
    758758    }
Note: See TracChangeset for help on using the changeset viewer.