Make WordPress Core

Ticket #50682: 50682.diff

File 50682.diff, 1.3 KB (added by chetan200891, 6 years ago)

Initial patch.

  • src/wp-admin/css/themes.css

    diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css
    index ee7d21b765..dcc48aef1c 100644
    a b body.js .theme-browser.search-loading {  
    459459}
    460460
    461461.theme-overlay .theme-wrap {
    462         clear: both;
    463         position: fixed;
    464         top: 9%;
    465         left: 190px;
    466         right: 30px;
    467         bottom: 3%;
    468         background: #fff;
    469         box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
    470         z-index: 10000; /* Over WP Pointers. */
    471         box-sizing: border-box;
    472         -webkit-overflow-scrolling: touch;
     462    clear: both;
     463    position: fixed;
     464    top: 30px;
     465    left: 190px;
     466    right: 30px;
     467    bottom: 30px;
     468    background: #fff;
     469    box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
     470    margin: 32px auto 0 auto;
     471    max-width: 1450px;
     472    z-index: 10000;
     473    /* Over WP Pointers. */
     474    box-sizing: border-box;
     475    -webkit-overflow-scrolling: touch;
    473476}
    474477
    475478body.folded .theme-browser ~ .theme-overlay .theme-wrap {
    … … body.folded .theme-browser ~ .theme-overlay .theme-wrap {  
    782785        }
    783786}
    784787
    785 @media only screen and (min-width: 1680px) {
    786         .theme-overlay .theme-wrap {
    787                 width: 1450px;
    788                 margin: 0 auto;
    789         }
    790 }
    791 
    792788/* Maximum screenshot width reaches 440px */
    793789@media only screen and (min-width: 1640px) {
    794790        .theme-browser .theme {