mirror of https://gitlab.com/bashrc2/epicyon
Separate div for reply avatar
parent
fc435375fb
commit
cb5af23139
|
@ -648,6 +648,12 @@ input[type=submit]:hover {
|
|||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
.timeline-avatar-reply {
|
||||
margin: 10px auto;
|
||||
padding: 0px 0px;
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
.search-result-text {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
|
|
@ -1827,10 +1827,11 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
replyAvatarUrl=getPersonAvatarUrl(baseDir,replyActor,personCache)
|
||||
if replyAvatarUrl:
|
||||
replyAvatarImageInPost= \
|
||||
'<div class="timeline-avatar-reply">' \
|
||||
'<a href="'+replyActor+'">' \
|
||||
'<img src="'+replyAvatarUrl+'" ' \
|
||||
'title="'+translate['Show profile']+ \
|
||||
'" alt="Avatar"'+avatarPosition+'/></a>'
|
||||
'" alt="Avatar"'+avatarPosition+'/></a></div>'
|
||||
else:
|
||||
titleStr+=' <img src="/'+iconsDir+'/reply.png" class="announceOrReply"/> <a href="'+postJsonObject['object']['inReplyTo']+'">@'+replyNickname+'@'+replyDomain+'</a>'
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue