Dashboard IE fixes from mdawaffe. see #5750

git-svn-id: http://svn.automattic.com/wordpress/trunk@7197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-10 05:47:07 +00:00
parent a1449b1ebc
commit 693df6dea7
3 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,5 @@
/* Right Now */
#rightnow {
border-width: 1px;
border-style: solid;
@ -53,13 +55,19 @@
font-weight: bold;
}
div#dashboard-widgets {
position: relative;
left: 20px;
margin: -20px 6px 0 -20px;
/* Widgets */
div#dashboard-widgets-wrap {
margin-top: -20px;
margin-right: -13px; /* 20 (div.dashboard-widget margin-right) - 7 (#rightnow margin-right) */
}
div.dashboard-widget-holder {
div#dashboard-widgets {
width: 100%;
padding-right: 7px; /* (#rightnow margin-right) */
}
div.dashboard-widget-holder {
margin-top: 20px;
width: 50%;
float: left;
@ -116,6 +124,7 @@ h3.dashboard-widget-title small {
h3.dashboard-widget-title img.rss-icon {
vertical-align: middle;
margin: .5em 0;
}
div.dashboard-widget-notice {

View File

@ -105,7 +105,7 @@ function wp_list_widgets( $show = 'all', $_search = false ) {
<?php endif; ?>
<div class="widget-description">
<?php echo wp_widget_description( $widget['id'] ); ?>
<?php echo ( $widget_description = wp_widget_description( $widget['id'] ) ) ? $widget_description : '&nbsp;'; ?>
</div>
<br class="clear" />

View File

@ -87,8 +87,13 @@ $widgets_text = sprintf( __ngettext( '%d widget', '%d widgets', $num_widgets ),
<br class="clear" />
<div id="dashboard-widgets-wrap">
<?php wp_dashboard(); ?>
</div><!-- dashboard-widgets-wrap -->
</div><!-- wrap -->
<?php require('./admin-footer.php'); ?>