Make WordPress Core

Ticket #48780: 48780.2.diff

File 48780.2.diff, 622 bytes (added by sabernhardt, 6 years ago)

adds min-width and max-width to image editor column

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

     
    851851
    852852.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
    853853        float: left;
    854         padding: 3px 16px 0 0;
     854        padding: 3px 16px 20px 0;
    855855}
    856856
     857@media only screen and (min-width: 783px) {
     858        .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
     859                min-width: 400px;
     860                max-width: calc( 100% - 266px );
     861        }
     862}
     863
    857864.wp_attachment_holder .imgedit-wrap .imgedit-settings {
    858865        float: right;
    859866        width: 250px;