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

git-svn-id: https://develop.svn.wordpress.org/trunk@10017 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-12-02 23:53:43 +00:00
parent 26d5d33cef
commit 6a3f6d7dec
4 changed files with 9 additions and 9 deletions

View File

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

View File

@ -34,11 +34,13 @@
if ( ! $('#post-body').hasClass('has-sidebar') ) { if ( ! $('#post-body').hasClass('has-sidebar') ) {
$('#post-body').addClass('has-sidebar'); $('#post-body').addClass('has-sidebar');
var h = Math.min( $('#post-body').height(), 300 ); var h = Math.min( $('#post-body').height(), 300 );
$('#side-sortables').css({'minHeight':h+'px'}); $('#side-sortables').css({'minHeight':h+'px','height':'auto'});
} }
} else { } else {
$('#post-body').removeClass('has-sidebar'); $('#post-body').removeClass('has-sidebar');
$('#side-sortables').css({'minHeight':'0'}); $('#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 { .metabox-prefs {
padding: 5px 10px 10px; padding: 5px 5px 10px 10px;
} }
.metabox-prefs label { .metabox-prefs label {
display: block; padding-right: 15px;
float: left;
padding: 5px 3px;
white-space: nowrap; white-space: nowrap;
min-width: 14em; line-height: 30px;
} }
.metabox-prefs label input { .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( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20081117' );
$scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' ); $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( $scripts->localize( 'postbox', 'postboxL10n', array(
'requestFile' => admin_url('admin-ajax.php') 'requestFile' => admin_url('admin-ajax.php')
) ); ) );