Update space between comment author and badge

Because some HTML minifiers remove the space.
This commit is contained in:
Tetrakern 2024-09-23 11:53:21 +02:00
parent 09477722ce
commit f53b281809
6 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -648,7 +648,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
echo "<span>{$comment_author}</span>";
}
echo ' ' . $badge;
echo $badge;
?></div>
<div class="fictioneer-comment__info truncate _1-1">
<?php if ( $parent_comment ) : ?>

View File

@ -49,7 +49,7 @@ if ( ! function_exists( 'fictioneer_build_story_comment' ) ) {
echo get_avatar( $id_or_email, 32 ) ?: '';
?>
<div class="fictioneer-comment__meta">
<div class="fictioneer-comment__author"><span><?php echo $name; ?></span> <?php echo $badge; ?></div>
<div class="fictioneer-comment__author"><span><?php echo $name; ?></span><?php echo $badge; ?></div>
<div class="fictioneer-comment__info truncate _1-1">
<?php
printf(

View File

@ -100,7 +100,7 @@ $badge = fictioneer_get_comment_badge( $current_user, null );
<div class="fictioneer-comment__meta">
<div class="fictioneer-comment__author">
<span><?php echo $current_user->display_name; ?></span>
<?php if ( $badge ) echo ' ' . $badge; ?>
<?php if ( $badge ) echo $badge; ?>
</div>
<div class="fictioneer-comment__info truncate _1-1">
<div class="fictioneer-comment__date"><?php

View File

@ -472,7 +472,7 @@
text-shadow: none;
border-radius: 2px;
padding: 0 4px;
margin-left: 1px;
margin-left: 4px;
height: 16px;
transform: translateY(-1px);