Wrap comment bubbles in minimum width div to avoid chopping. Props mt. fixes #6207
git-svn-id: https://develop.svn.wordpress.org/trunk@7427 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fc0efdfc8d
commit
d9fd25f2ab
@ -99,7 +99,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
||||
|
||||
case 'comments':
|
||||
?>
|
||||
<td class="num">
|
||||
<td class="num"><div class="post-com-count-wrapper">
|
||||
<?php
|
||||
$left = get_pending_comments_num( $post->ID );
|
||||
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
|
||||
@ -109,7 +109,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
||||
if ( $left )
|
||||
echo '</strong>';
|
||||
?>
|
||||
</td>
|
||||
</div></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
@ -111,7 +111,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
||||
|
||||
case 'comments':
|
||||
?>
|
||||
<td class="num">
|
||||
<td class="num"><div class="post-com-count-wrapper">
|
||||
<?php
|
||||
$left = get_pending_comments_num( $post->ID );
|
||||
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
|
||||
@ -121,7 +121,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
||||
if ( $left )
|
||||
echo '</strong>';
|
||||
?>
|
||||
</td>
|
||||
</div></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
@ -407,7 +407,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
|
||||
|
||||
case 'comments':
|
||||
?>
|
||||
<td class="num">
|
||||
<td class="num"><div class="post-com-count-wrapper">
|
||||
<?php
|
||||
$left = get_pending_comments_num( $page->ID );
|
||||
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
|
||||
@ -417,7 +417,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
|
||||
if ( $left )
|
||||
echo '</strong>';
|
||||
?>
|
||||
</td>
|
||||
</div></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
@ -698,6 +698,10 @@ a.view-comment-post-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-com-count-wrapper {
|
||||
min-width: 22px;
|
||||
}
|
||||
|
||||
.post-com-count {
|
||||
height: 1.3em;
|
||||
display: block;
|
||||
@ -705,7 +709,7 @@ a.view-comment-post-link {
|
||||
overflow: hidden;
|
||||
padding: 0 0 5px;
|
||||
cursor: pointer;
|
||||
background-position: center -80px;
|
||||
background-position: center -81px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@ -722,7 +726,7 @@ a.view-comment-post-link {
|
||||
}
|
||||
|
||||
strong .post-com-count {
|
||||
background-position: center -55px;
|
||||
background-position: center -56px;
|
||||
}
|
||||
|
||||
.post-com-count:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user