Make WordPress Core

Ticket #38651: 38651.2.diff

File 38651.2.diff, 1.1 KB (added by sstoqnov, 8 years ago)
  • src/wp-includes/css/customize-preview.css

     
    3838.widget .customize-partial-edit-shortcut button,
    3939.customize-partial-edit-shortcut button {
    4040        position: absolute;
    41         left: -36px;
     41        left: -30px;
     42        top: 2px;
    4243        color: #fff;
    4344        width: 30px;
    4445        height: 30px;
     
    9899}
    99100
    100101.customize-partial-edit-shortcut-left-margin.customize-partial-edit-shortcut button {
    101         left: 0;
     102        left: 2px;
     103        top: 2px;
    102104}
    103105
    104106@keyframes customize-partial-edit-shortcut-bounce-appear {
     
    156158}
    157159
    158160@media screen and (max-width:800px) {
     161        .widget .customize-partial-edit-shortcut button,
    159162        .customize-partial-edit-shortcut button {
    160163                left: -18px; /* Assume there will be less of a margin available on smaller screens */
    161164        }
    162165}
     166
     167
     168@media screen and (max-width:320px) {
     169        .widget .customize-partial-edit-shortcut button,
     170        .customize-partial-edit-shortcut button {
     171                left: -5px; /* Assume there will be less of a margin available on smaller screens */
     172        }
     173}