Make the metaboxes easier to drag.

git-svn-id: https://develop.svn.wordpress.org/trunk@9350 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-10-25 23:11:55 +00:00
parent 11ef4262c2
commit cee1009cc4
2 changed files with 4 additions and 2 deletions

View File

@ -2598,7 +2598,7 @@ function do_meta_boxes($page, $context, $object) {
if ( in_array($box['id'], $hidden) )
$style = 'style="display:none;"';
echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . '" ' . $style . '>' . "\n";
echo "<h3><span class='hndle'>{$box['title']}</span></h3>\n";
echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
echo '<div class="inside">' . "\n";
call_user_func($box['callback'], $object, $box);
echo "</div>\n";

View File

@ -1987,8 +1987,10 @@ fieldset {
cursor: pointer;
}
.ui-sortable .postbox .hndle {
.ui-sortable .postbox .hndle span {
padding: 6px 0;
}
.ui-sortable .postbox .hndle {
cursor: move;
}