Skip to content

Commit ead17bb

Browse files
author
Henry
committed
Fix code comment avatar alignment
1 parent ff96873 commit ead17bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
{{if not .OriginalAuthor}}
367367
{{/* Some timeline avatars need a offset to correctly align with their speech bubble.
368368
The condition depends on whether the comment has contents/attachments or reviews */}}
369-
<a class="timeline-avatar{{if or .Content .Attachments (and .Review .Review.CodeComments)}} timeline-avatar-offset{{end}}"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
369+
<a class="timeline-avatar{{if or .Content .Attachments (and .Review .Review.Content .Review.CodeComments)}} timeline-avatar-offset{{end}}"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
370370
{{ctx.AvatarUtils.Avatar .Poster 40}}
371371
</a>
372372
{{end}}

0 commit comments

Comments
 (0)