Make WordPress Core

Ticket #48780: 48780.5.diff

File 48780.5.diff, 1.7 KB (added by sabernhardt, 6 years ago)

refresh of adjusted float drop option, with #poststuff

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

     
    14281428        }
    14291429}
    14301430
     1431/* one column on the attachment editor screen */
     1432@media only screen and (max-width: 1200px) {
     1433        .post-type-attachment #poststuff {
     1434                min-width: 0;
     1435        }
     1436
     1437        .post-type-attachment #wpbody-content #poststuff #post-body {
     1438                margin: 0;
     1439        }
     1440
     1441        .post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 {
     1442                margin-right: 0;
     1443                width: 100%;
     1444        }
     1445
     1446        .post-type-attachment #poststuff #postbox-container-1 .empty-container,
     1447        .post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty {
     1448                border: 0 none;
     1449                height: 0;
     1450                min-height: 0;
     1451        }
     1452
     1453        .post-type-attachment #poststuff #post-body.columns-2 #side-sortables {
     1454                min-height: 0;
     1455                width: auto;
     1456        }
     1457
     1458        /* hide the radio buttons for column prefs */
     1459        .post-type-attachment .screen-layout,
     1460        .post-type-attachment .columns-prefs {
     1461                display: none;
     1462        }
     1463}
     1464
    14311465/* one column on the post write/edit screen */
    14321466@media only screen and (max-width: 850px) {
    14331467        #poststuff {
  • src/wp-admin/css/media.css

     
    852852.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
    853853        float: left;
    854854        padding: 3px 16px 0 0;
     855        min-width: 400px;
     856        max-width: calc( 100% - 266px );
    855857}
    856858
    857859.wp_attachment_holder .imgedit-wrap .imgedit-settings {
     
    12111213        .wp_attachment_holder .imgedit-wrap .imgedit-settings {
    12121214                float: none;
    12131215                width: auto;
     1216                max-width: none;
    12141217        }
    12151218}
    12161219