WordPress.org

Make WordPress Core

Ticket #49288: 49288.diff

File 49288.diff, 2.3 KB (added by xkon, 2 months ago)
  • src/js/_enqueues/admin/postbox.js

    diff --git a/src/js/_enqueues/admin/postbox.js b/src/js/_enqueues/admin/postbox.js
    index 9789518b65..09979217d4 100644
    a b  
    341341                _mark_area : function() {
    342342                        var visible = $('div.postbox:visible').length, side = $('#post-body #side-sortables');
    343343
    344                         $( '#dashboard-widgets .meta-box-sortables:visible' ).each( function() {
     344                        $( '.meta-box-sortables:visible' ).each( function() {
    345345                                var t = $(this);
    346346
    347347                                if ( visible == 1 || t.children('.postbox:visible').length ) {
  • src/wp-admin/css/common.css

    diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
    index a8b8112b00..9f6bf15dac 100644
    a b html.wp-toolbar { 
    20052005        text-align: center;
    20062006        color: #ccc;
    20072007        font-size: 18px;
    2008         display: none;
     2008        display: block;
    20092009}
    20102010
    20112011.metabox-holder.columns-1 .postbox-container .empty-container,
    html.wp-toolbar { 
    20402040                height: 0;
    20412041                min-height: 0;
    20422042        }
     2043
     2044        .metabox-holder .postbox-container .empty-container:after {
     2045                display: none;
     2046        }
    20432047}
    20442048
    20452049.js .widget .widget-top,
  • src/wp-admin/css/dashboard.css

    diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
    index eac01008e8..1cf884b815 100644
    a b a.rsswidget { 
    11511151        .columns-prefs .columns-prefs-4 {
    11521152                display: none;
    11531153        }
    1154 
    1155         .metabox-holder .postbox-container .empty-container:after {
    1156                 display: block;
    1157         }
    11581154}
    11591155
    11601156/* three columns on the dash */
    a.rsswidget { 
    11811177        #dashboard-widgets #postbox-container-4 .empty-container:after {
    11821178                display: none;
    11831179        }
    1184 
    1185         .metabox-holder .postbox-container .empty-container:after {
    1186                 display: block;
    1187         }
    11881180}
    11891181
    11901182@media screen and (max-width: 870px) {
  • src/wp-admin/css/edit.css

    diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
    index 20d4c4d27a..14b19aa8c2 100644
    a b body.post-new-php .submitbox .submitdelete { 
    151151        min-height: 50px;
    152152}
    153153
     154#post-body #normal-sortables.empty-container {
     155        margin-bottom: 20px;
     156}
     157
    154158.postbox {
    155159        position: relative;
    156160        min-width: 255px;
    body.post-new-php .submitbox .submitdelete { 
    159163        background: #fff;
    160164}
    161165
     166#poststuff .metabox-holder .postbox-container .empty-container {
     167        height: 50px;
     168}
     169
    162170#trackback_url {
    163171        width: 99%;
    164172}