Make WordPress Core

Ticket #38660: 38660.2.diff

File 38660.2.diff, 1.3 KB (added by sirbrillig, 7 years ago)

Replace flexbox shortcut icon position with padding

  • src/wp-includes/css/customize-preview.css

    diff --git src/wp-includes/css/customize-preview.css src/wp-includes/css/customize-preview.css
    index 0a33edf..c245d25 100644
     
    3131
    3232.widget .customize-partial-edit-shortcut button:active,
    3333.customize-partial-edit-shortcut button:active {
    34         padding: 0;
    35         border: 0;
     34        padding: 3px;
     35        border: 1px solid #0085ba;
    3636}
    3737
    3838/* Styles for the actual shortcut */
     
    5555        -webkit-box-shadow: 0 2px 1px rgba(46,68,83,0.15);
    5656        box-shadow: 0 2px 1px rgba(46,68,83,0.15);
    5757        text-align: center;
    58         display: -webkit-box;
    59         display: -webkit-flex;
    60         display: -moz-box;
    61         display: -ms-flexbox;
    62         display: flex;
    63         -webkit-box-orient: horizontal;
    64         -webkit-box-direction: normal;
    65         -webkit-flex-direction: row;
    66         -moz-box-orient: horizontal;
    67         -moz-box-direction: normal;
    68         -ms-flex-direction: row;
    69         flex-direction: row;
    70         -webkit-box-pack: center;
    71         -webkit-justify-content: center;
    72         -moz-box-pack: center;
    73         -ms-flex-pack: center;
    74         justify-content: center;
    75         -webkit-box-align: center;
    76         -webkit-align-items: center;
    77         -moz-box-align: center;
    78         -ms-flex-align: center;
    79         align-items: center;
    8058        cursor: pointer;
    81         padding: 0;
     59        box-sizing: border-box;
     60        padding: 3px;
    8261        -webkit-animation-fill-mode: both;
    8362        animation-fill-mode: both;
    8463        -webkit-animation-duration: .4s;