Make WordPress Core

Changeset 10729


Ignore:
Timestamp:
03/06/2009 03:20:38 AM (18 years ago)
Author:
azaozz
Message:

Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283

Location:
trunk
Files:
3 edited

Legend:

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

    r10163 r10729  
    211211
    212212#the-comment-list .comment-item {
    213         padding: 1em 10px 1em 70px;
     213        padding: 1em 10px;
    214214        border-top: 1px solid;
    215215}
     
    230230#the-comment-list .comment-item .avatar {
    231231        float: left;
    232         margin-left: -60px;
     232        margin: 0 10px 5px 0;
    233233}
    234234
     
    395395        line-height: 1.4em;
    396396}
     397
     398.dashboard-comment-wrap {
     399        overflow: hidden;
     400        word-wrap: break-word;
     401}
     402
  • trunk/wp-admin/includes/dashboard.php

    r10697 r10729  
    551551
    552552                        <?php echo get_avatar( $comment, 50 ); ?>
     553
     554                        <div class="dashboard-comment-wrap">
    553555                        <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link." ".$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4>
    554556
     
    567569                                $type = wp_specialchars( $type );
    568570                        ?>
     571                        <div class="dashboard-comment-wrap">
    569572                        <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?>
    570573                        <h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></h4>
     
    582585                                <div class="comment_status"><?php echo $comment->comment_approved; ?></div>
    583586                        </div>
    584 
     587                        </div>
    585588                </div>
    586589<?php
  • trunk/wp-includes/script-loader.php

    r10668 r10729  
    439439        $styles->add( 'media', '/wp-admin/css/media.css', array(), '20081210' );
    440440        $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20081210' );
    441         $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20081210' );
     441        $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20090305' );
    442442        $styles->add( 'install', '/wp-admin/css/install.css', array(), '20081210' );
    443443        $styles->add( 'theme-editor', '/wp-admin/css/theme-editor.css', array(), '20081210' );
Note: See TracChangeset for help on using the changeset viewer.