WordPress.org

Make WordPress Core

Changeset 7427


Ignore:
Timestamp:
03/20/2008 09:40:17 PM (10 years ago)
Author:
ryan
Message:

Wrap comment bubbles in minimum width div to avoid chopping. Props mt. fixes #6207

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-attachment-rows.php

    r7366 r7427  
    100100    case 'comments':
    101101        ?>
    102         <td class="num">
     102        <td class="num"><div class="post-com-count-wrapper">
    103103        <?php
    104104        $left = get_pending_comments_num( $post->ID );
     
    110110            echo '</strong>';
    111111        ?>
    112         </td>
     112        </div></td>
    113113        <?php
    114114        break;
  • trunk/wp-admin/edit-post-rows.php

    r7410 r7427  
    112112    case 'comments':
    113113        ?>
    114         <td class="num">
     114        <td class="num"><div class="post-com-count-wrapper">
    115115        <?php
    116116        $left = get_pending_comments_num( $post->ID );
     
    122122            echo '</strong>';
    123123        ?>
    124         </td>
     124        </div></td>
    125125        <?php
    126126        break;
  • trunk/wp-admin/includes/template.php

    r7374 r7427  
    408408    case 'comments':
    409409        ?>
    410         <td class="num">
     410        <td class="num"><div class="post-com-count-wrapper">
    411411        <?php
    412412        $left = get_pending_comments_num( $page->ID );
     
    418418            echo '</strong>';
    419419        ?>
    420         </td>
     420        </div></td>
    421421        <?php
    422422        break;
  • trunk/wp-admin/wp-admin.css

    r7422 r7427  
    699699}
    700700
     701.post-com-count-wrapper {
     702    min-width: 22px;
     703}
     704
    701705.post-com-count {
    702706    height: 1.3em;
     
    706710    padding: 0 0 5px;
    707711    cursor: pointer;
    708     background-position: center -80px;
     712    background-position: center -81px;
    709713    background-repeat: no-repeat;
    710714}
     
    723727
    724728strong .post-com-count {
    725     background-position: center -55px;
     729    background-position: center -56px;
    726730}
    727731
Note: See TracChangeset for help on using the changeset viewer.