Make WordPress Core

Changeset 26962


Ignore:
Timestamp:
01/16/2014 09:35:27 PM (11 years ago)
Author:
nacin
Message:

The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content.

Merges [26961] to the 3.8 branch.

props SergeyBiryukov.
fixes #26618.

Location:
branches/3.8
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-admin/css/wp-admin.css

    r26956 r26962  
    33973397}
    33983398
     3399.fixed .column-comment .comment-author {
     3400    display: none;
     3401}
     3402
    33993403.fixed .column-response,
    34003404.fixed .column-categories,
     
    86258629}
    86268630
    8627 .column-author img, .column-username img {
     8631.column-comment .comment-author {
     8632    margin-bottom: 0.6em;
     8633}
     8634
     8635.column-author img,
     8636.column-username img,
     8637.column-comment .comment-author img {
    86288638    float: left;
    86298639    margin-right: 10px;
     
    1228612296    }
    1228712297
     12298    .fixed .column-comment .comment-author {
     12299        display: block;
     12300    }
     12301
    1228812302    /* Posts */
    1228912303    .column-title {
  • branches/3.8/src/wp-admin/includes/class-wp-comments-list-table.php

    r26273 r26962  
    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.