update comment header
This commit is contained in:
parent
04f23a7203
commit
3d7aa57e8e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -636,7 +636,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="fictioneer-comment__meta">
|
<div class="fictioneer-comment__meta">
|
||||||
<div class="fictioneer-comment__author truncate _1-1"><?php
|
<div class="fictioneer-comment__author"><?php
|
||||||
if ( fictioneer_is_author( $comment->user_id ) ) {
|
if ( fictioneer_is_author( $comment->user_id ) ) {
|
||||||
echo '<a href="' . get_author_posts_url( $comment->user_id ) . '">' . $comment->comment_author . '</a>';
|
echo '<a href="' . get_author_posts_url( $comment->user_id ) . '">' . $comment->comment_author . '</a>';
|
||||||
} else {
|
} else {
|
||||||
|
@ -49,7 +49,7 @@ if ( ! function_exists( 'fictioneer_build_story_comment' ) ) {
|
|||||||
echo get_avatar( $id_or_email, 32 ) ?: '';
|
echo get_avatar( $id_or_email, 32 ) ?: '';
|
||||||
?>
|
?>
|
||||||
<div class="fictioneer-comment__meta">
|
<div class="fictioneer-comment__meta">
|
||||||
<div class="fictioneer-comment__author truncate _1-1"><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">
|
<div class="fictioneer-comment__info truncate _1-1">
|
||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
|
@ -98,7 +98,7 @@ $badge = fictioneer_get_comment_badge( $current_user, null );
|
|||||||
<?php if ( $avatar ) echo $avatar; ?>
|
<?php if ( $avatar ) echo $avatar; ?>
|
||||||
|
|
||||||
<div class="fictioneer-comment__meta">
|
<div class="fictioneer-comment__meta">
|
||||||
<div class="fictioneer-comment__author truncate _1-1">
|
<div class="fictioneer-comment__author">
|
||||||
<span><?php echo $current_user->display_name; ?></span>
|
<span><?php echo $current_user->display_name; ?></span>
|
||||||
<?php if ( $badge ) echo $badge; ?>
|
<?php if ( $badge ) echo $badge; ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -439,13 +439,14 @@
|
|||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: .75rem;
|
margin-bottom: .75rem;
|
||||||
|
|
||||||
img {
|
.avatar {
|
||||||
border-radius: var(--layout-border-radius-small);
|
border-radius: var(--layout-border-radius-small);
|
||||||
|
transform: translateY(1.5px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user