WordPress.org

Make WordPress Core

Ticket #31898: 31898.patch

File 31898.patch, 709 bytes (added by tyxla, 7 years ago)

Removing double border and fixing icon centering in selection section of media modal

  • src/wp-includes/css/media-views.css

     
    14871487        display: none;
    14881488}
    14891489
     1490.media-selection .selected.attachment,
     1491.media-selection .attachment:focus,
     1492.media-selection .selected.attachment:focus,
     1493.media-selection .attachment.details:focus {
     1494        -webkit-box-shadow: none;
     1495        box-shadow: none;
     1496}
     1497
     1498.media-selection .attachment .thumbnail .centered img.icon {
     1499        -webkit-transform: translate( -50%, -53% );
     1500        -ms-transform: translate(-50%,-53%);
     1501        transform: translate( -50%, -53% );
     1502}
     1503
    14901504/**
    14911505 * Spinner
    14921506 */