WordPress.org

Make WordPress Core

Ticket #51754: 51754.8.diff

File 51754.8.diff, 733 bytes (added by sabernhardt, 3 months ago)

making error message span both columns; changing grid to one column at 600px breakpoint

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

     
    114114
    115115.media-item {
    116116        display: grid;
    117         grid-template-columns: repeat( 2, 1fr );
     117        grid-template-columns: 1fr 1fr;
    118118}
    119119
    120120.media-item .attachment-tools {
     
    253253
    254254.media-upload-form .media-item .error {
    255255        padding: 10px 0 10px 14px;
     256        grid-column-start: 1;
     257        grid-column-end: 3;
    256258}
    257259
    258260.media-item .error-div button.dismiss {
     
    12871289        }
    12881290}
    12891291
     1292@media only screen and (max-width: 600px) {
     1293        .media-item {
     1294                grid-template-columns: 1fr;
     1295        }
     1296}
     1297
    12901298/**
    12911299 * Media queries for media grid.
    12921300 */