Different style for avatar on media timeline

merge-requests/6/head
Bob Mottram 2019-11-28 14:01:29 +00:00
parent f19149ff38
commit 79fe2d1cf8
2 changed files with 18 additions and 1 deletions

View File

@ -654,6 +654,13 @@ div.gallery img {
margin: 0px 1%;
border-radius: 0%;
}
div.mediaavatar img {
float: left;
max-width: 200px;
width: 8%;
margin: 0px 1%;
border-radius: 0%;
}
.timeline-avatar img {
opacity: 1.0;
width: 8%;
@ -936,6 +943,13 @@ div.gallery img {
border-radius: 0px;
vertical-align: middle;
}
div.mediaavatar img {
float: left;
max-width: 200px;
width: 8%;
margin: 0px 1%;
border-radius: 0%;
}
div.mediaicons img {
float: right;
max-width: 200px;

View File

@ -2339,7 +2339,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
else:
galleryStr+='<label class="transparent">---</label><br>'
galleryStr+=' <div class="mediaicons">\n'
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+avatarLink+'\n'
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
galleryStr+=' </div>\n'
galleryStr+=' <div class="mediaavatar">\n'
galleryStr+=' '+avatarLink+'\n'
galleryStr+=' </div>\n'
galleryStr+='</div>\n'