Fix footer in IE7, Screen Options in IE6, fixes #8447, fixes #8457

git-svn-id: http://svn.automattic.com/wordpress/trunk@10017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-12-02 23:53:43 +00:00
parent f9069cffc0
commit 7061676d80
4 changed files with 9 additions and 9 deletions

View File

@ -22,8 +22,8 @@ input.button-highlighted {
margin-bottom: -1px;
}
#side-info-column {
height: 0;
* html #side-info-column {
height: auto;
}
* html #wpbody-content #screen-options-link-wrap {

View File

@ -34,11 +34,13 @@
if ( ! $('#post-body').hasClass('has-sidebar') ) {
$('#post-body').addClass('has-sidebar');
var h = Math.min( $('#post-body').height(), 300 );
$('#side-sortables').css({'minHeight':h+'px'});
$('#side-sortables').css({'minHeight':h+'px','height':'auto'});
}
} else {
$('#post-body').removeClass('has-sidebar');
$('#side-sortables').css({'minHeight':'0'});
if ( $.browser.msie && $.browser.version.charAt(0) == 7 )
$('#side-sortables').css({'height':'0'});
}
},

View File

@ -2337,15 +2337,13 @@ fieldset {
}
.metabox-prefs {
padding: 5px 10px 10px;
padding: 5px 5px 10px 10px;
}
.metabox-prefs label {
display: block;
float: left;
padding: 5px 3px;
padding-right: 15px;
white-space: nowrap;
min-width: 14em;
line-height: 30px;
}
.metabox-prefs label input {

View File

@ -163,7 +163,7 @@ function wp_default_scripts( &$scripts ) {
) );
$scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20081117' );
$scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
$scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery-ui-sortable'), '20081109' );
$scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery-ui-sortable'), '20081202' );
$scripts->localize( 'postbox', 'postboxL10n', array(
'requestFile' => admin_url('admin-ajax.php')
) );