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

git-svn-id: https://develop.svn.wordpress.org/trunk@26429 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2013-11-27 02:02:19 +00:00
parent 3b2dc8f443
commit 5ec7a534a9
2 changed files with 2 additions and 1 deletions

View File

@@ -2640,6 +2640,7 @@ html.wp-toolbar {
#dashboard-widgets .meta-box-sortables {
margin: 0 8px;
min-height: 100px;
}
#the-comment-list td.comment p.comment-author {

View File

@@ -123,7 +123,7 @@ jQuery(document).ready( function($) {
};
quickPressLoad();
$( '.meta-box-sortables' ).sortable( 'option', 'containment', '#dashboard-widgets-wrap' );
$( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' );
// Activity Widget
$( '.show-more a' ).on( 'click', function(e) {