Make WordPress Core

Ticket #42535: 42535.patch

File 42535.patch, 761 bytes (added by janak007, 7 years ago)

Added patch to fix the background image

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

     
    744744        display: block;
    745745        margin: 0 auto 16px;
    746746        max-width: 100%;
    747         max-height: 90%;
    748         max-height: calc( 100% - 42px ); /* leave space for actions underneath */
    749         background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
    750         background-position: 0 0, 10px 10px;
    751         background-size: 20px 20px;
     747        max-height: calc( 100% - 42px );
    752748}
    753749
    754750.edit-attachment-frame .attachment-media-view .attachment-actions {