Make the metaboxes easier to drag.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-10-25 23:11:55 +00:00
parent 1f079aa071
commit 00e2684feb
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;
}