WordPress.org

Make WordPress Core

Changeset 7197


Ignore:
Timestamp:
03/10/2008 05:47:07 AM (10 years ago)
Author:
ryan
Message:

Dashboard IE fixes from mdawaffe. see #5750

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/dashboard.css

    r7195 r7197  
     1/* Right Now */
     2
    13#rightnow {
    24    border-width: 1px;
     
    5456}
    5557
     58/* Widgets */
     59
     60div#dashboard-widgets-wrap {
     61    margin-top: -20px;
     62    margin-right: -13px; /* 20 (div.dashboard-widget margin-right) - 7 (#rightnow margin-right) */
     63}
     64
    5665div#dashboard-widgets {
    57     position: relative;
    58     left: 20px;
    59     margin: -20px 6px 0 -20px;
    60 }
    61 
    62 div.dashboard-widget-holder {
     66    width: 100%;
     67    padding-right: 7px; /* (#rightnow margin-right) */
     68}
     69
     70div.dashboard-widget-holder {   
    6371    margin-top: 20px;
    6472    width: 50%;
     
    117125h3.dashboard-widget-title img.rss-icon {
    118126    vertical-align: middle;
     127    margin: .5em 0;
    119128}
    120129
  • trunk/wp-admin/includes/widgets.php

    r7086 r7197  
    106106
    107107            <div class="widget-description">
    108                 <?php echo wp_widget_description( $widget['id'] ); ?>
     108                <?php echo ( $widget_description = wp_widget_description( $widget['id'] ) ) ? $widget_description : '&nbsp;'; ?>
    109109            </div>
    110110
  • trunk/wp-admin/index.php

    r7194 r7197  
    8888<br class="clear" />
    8989
     90<div id="dashboard-widgets-wrap">
     91
    9092<?php wp_dashboard(); ?>
     93
     94
     95</div><!-- dashboard-widgets-wrap -->
    9196
    9297</div><!-- wrap -->
Note: See TracChangeset for help on using the changeset viewer.