diff --git a/epicyon-profile.css b/epicyon-profile.css index 82790f4fa..5cf7644e9 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -327,9 +327,9 @@ a:link { } .container img.attachment { - max-width: 120%; + max-width: 115%; margin-left: 5%; - width: 120%; + width: 115%; border-radius: 5%; } .container img.right { diff --git a/webinterface.py b/webinterface.py index 0e9f8d0ed..41a0c6861 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2588,7 +2588,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ attachmentStr+=translate['Your browser does not support the audio tag.'] attachmentStr+='' attachmentCtr+=1 - attachmentStr+='
' + attachmentStr+='' publishedStr='' if postJsonObject['object'].get('published'): @@ -2619,7 +2619,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ postJsonObject['object']['sensitive']=False # add an extra line if there is a content warning, for better vertical spacing on mobile - if postJsonObject['object']['sensitive']: + if postJsonObject['object']['sensitive'] or attachmentStr: footerStr='
'+footerStr if not postJsonObject['object'].get('summary'):