Make WordPress Core

Changeset 26429


Ignore:
Timestamp:
11/27/2013 02:02:19 AM (11 years ago)
Author:
azaozz
Message:

Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/wp-admin.css

    r26426 r26429  
    26412641#dashboard-widgets .meta-box-sortables {
    26422642    margin: 0 8px;
     2643    min-height: 100px;
    26432644}
    26442645
  • trunk/src/wp-admin/js/dashboard.js

    r26392 r26429  
    124124    quickPressLoad();
    125125
    126     $( '.meta-box-sortables' ).sortable( 'option', 'containment', '#dashboard-widgets-wrap' );
     126    $( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' );
    127127
    128128    // Activity Widget
Note: See TracChangeset for help on using the changeset viewer.