From 79fe2d1cf8fec746df28b47b76ed85224173d729 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Nov 2019 14:01:29 +0000 Subject: [PATCH] Different style for avatar on media timeline --- epicyon-profile.css | 14 ++++++++++++++ webinterface.py | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index b2c4752e..7e841130 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -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; diff --git a/webinterface.py b/webinterface.py index 66cb6996..d53f7e28 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2339,7 +2339,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ else: galleryStr+='
' galleryStr+='
\n' - galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+avatarLink+'\n' + galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n' + galleryStr+='
\n' + galleryStr+='
\n' + galleryStr+=' '+avatarLink+'\n' galleryStr+='
\n' galleryStr+='\n'