Make WordPress Core

Changeset 26961 for trunk


Ignore:
Timestamp:
01/16/2014 08:33:45 PM (11 years ago)
Author:
iammattthomas
Message:

The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content. Fixes #26618, props SergeyBiryukov, nacin.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r26952 r26961  
    33973397}
    33983398
     3399.fixed .column-comment .comment-author {
     3400    display: none;
     3401}
     3402
    33993403.fixed .column-response,
    34003404.fixed .column-categories,
     
    86028606}
    86038607
    8604 .column-author img, .column-username img {
     8608.column-comment .comment-author {
     8609    margin-bottom: 0.6em;
     8610}
     8611
     8612.column-author img,
     8613.column-username img,
     8614.column-comment .comment-author img {
    86058615    float: left;
    86068616    margin-right: 10px;
     
    1226312273    }
    1226412274
     12275    .fixed .column-comment .comment-author {
     12276        display: block;
     12277    }
     12278
    1226512279    /* Posts */
    1226612280    .column-title {
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r26273 r26961  
    391391        }
    392392
     393        echo '<div class="comment-author">';
     394            $this->column_author( $comment );
     395        echo '</div>';
     396
    393397        echo '<div class="submitted-on">';
    394398        /* translators: 2: comment date, 3: comment time */
Note: See TracChangeset for help on using the changeset viewer.