mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user