From 297895365b62057d88567d5c6736755604f5ad69 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Jan 2020 10:23:42 +0000 Subject: [PATCH] debug --- epicyon-profile.css | 4 ++-- webinterface.py | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 5cf7644e9..82790f4fa 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -327,9 +327,9 @@ a:link { } .container img.attachment { - max-width: 115%; + max-width: 120%; margin-left: 5%; - width: 115%; + width: 120%; border-radius: 5%; } .container img.right { diff --git a/webinterface.py b/webinterface.py index d1aac8df8..ac632d44c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2619,8 +2619,10 @@ 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'] or attachmentStr: - footerStr='

'+footerStr + if postJsonObject['object']['sensitive']: + footerStr='
'+footerStr + if attachmentStr: + footerStr='



'+footerStr if not postJsonObject['object'].get('summary'): postJsonObject['object']['summary']=''