WordPress.org

Make WordPress Core

Ticket #36380: 36380.6.diff

File 36380.6.diff, 1.4 KB (added by jorbin, 4 years ago)
  • src/wp-admin/comment.php

     
    211211</tr>
    212212<tr>
    213213<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
    214 <td>
     214<td class="comment-content">
    215215        <?php comment_text( $comment ); ?>
    216         <p><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
     216        <p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
    217217</td>
    218218</tr>
    219219</table>
  • src/wp-admin/css/edit.css

     
    11311131        padding: 10px 15px;
    11321132}
    11331133
    1134 .comment-ays td p:last-of-type {
     1134.comment-ays .comment-content a[href]:after {
     1135        content: '(' attr( href ) ')';
     1136        display: inline-block;
     1137        padding: 0 4px;
     1138        font-family: monospace;
     1139        color: #444;
     1140        font-size: 13px;
     1141}
     1142
     1143.comment-ays .comment-content p.edit-comment {
    11351144        margin-top: 10px;
    11361145}
    11371146
     1147.comment-ays .comment-content p.edit-comment a[href]:after {
     1148        content: '';
     1149        padding: 0;
     1150}
     1151
    11381152.comment-ays-submit .button-cancel {
    11391153        margin-left: 1em;
    11401154}