linkify avatars on profile comments

This commit is contained in:
Azareal 2020-08-20 15:06:28 +10:00
parent 2211d2ef11
commit c6d18e5c18
4 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div id="post-{{.ID}}"class="rowitem passive deletable_block editable_parent comment {{.ClassName}}">
<div class="topRow">
<div class="userbit">
<img src="{{.MicroAvatar}}"alt="Avatar"title="{{.CreatedByName}}'s Avatar"aria-hidden="true">
<a href="{{.UserLink}}"><img src="{{.MicroAvatar}}"alt="Avatar"title="{{.CreatedByName}}'s Avatar"aria-hidden="true"></a>
<span class="nameAndTitle">
<a href="{{.UserLink}}"class="real_username username">{{.CreatedByName}}</a>
{{if .Tag}}<a class="username hide_on_mobile user_tag"style="float:right;">{{.Tag}}</a>{{end}}

View File

@ -6,3 +6,6 @@
margin-left: 16px;
margin-bottom: 12px;
}
.userbit > a {
height: 40px;
}

View File

@ -67,6 +67,9 @@
font-size: 17px;
line-height: 16px;
}
.userbit > a {
height: 40px;
}
.userbit img {
width: 40px;
height: 40px;