Link the avatars in the profiles to the avatar images.
This commit is contained in:
parent
8f98708087
commit
00634896ec
|
@ -5,7 +5,7 @@
|
|||
<div id="profile_left_pane" class="rowmenu">
|
||||
<div class="topBlock">
|
||||
<div class="rowitem avatarRow">
|
||||
<img src="{{.ProfileOwner.Avatar}}" class="avatar" alt="Avatar" title="{{.ProfileOwner.Name}}'s Avatar" aria-hidden="true" />
|
||||
<a href="{{.ProfileOwner.Avatar}}"><img src="{{.ProfileOwner.Avatar}}" class="avatar" alt="Avatar" title="{{.ProfileOwner.Name}}'s Avatar" aria-hidden="true" /></a>
|
||||
</div>
|
||||
<div class="rowitem nameRow">
|
||||
<span class="profileName" title="{{.ProfileOwner.Name}}">{{.ProfileOwner.Name}}</span>{{if .ProfileOwner.Tag}}<span class="username" title="{{.ProfileOwner.Tag}}">{{.ProfileOwner.Tag}}</span>{{end}}
|
||||
|
|
|
@ -17,6 +17,13 @@
|
|||
height: 64px;
|
||||
border-radius: 32px;
|
||||
}
|
||||
.avatarRow a {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.avatarRow .avatar {
|
||||
display: block;
|
||||
}
|
||||
.nameRow {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
Loading…
Reference in New Issue