media icons style

main
Bob Mottram 2019-11-28 12:19:46 +00:00
parent 2acac9ccae
commit 2aacb2f924
2 changed files with 15 additions and 1 deletions

View File

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

View File

@ -2264,7 +2264,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
galleryStr+=' <a href="'+attach['url']+'">\n' galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n' galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n'
galleryStr+=' </a>\n' galleryStr+=' </a>\n'
galleryStr+=' <div class="'+containerClassIcons+'">\n' galleryStr+=' <div class="mediaicons">\n'
galleryStr+=' '+announceStr+likeStr+bookmarkStr+deleteStr+'\n' galleryStr+=' '+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
galleryStr+=' </div>\n' galleryStr+=' </div>\n'
if postJsonObject['object'].get('url'): if postJsonObject['object'].get('url'):