From 14102aede1cfef3aacff51fbd223f5eba9f18a40 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 5 Sep 2020 12:44:23 +0100 Subject: [PATCH] Likes count after icon --- epicyon-profile.css | 1 + webinterface.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 37b6f5eb..e18fa067 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -142,6 +142,7 @@ a:focus { .likesCount { font-size: var(--font-size-likes); font-family: Arial, Helvetica, sans-serif; + float: right; } .about { diff --git a/webinterface.py b/webinterface.py index ded1672a..450935fa 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4232,6 +4232,11 @@ def individualPostAsHtml(allowDownloads: bool, if timeDiff > 100: print('TIMING INDIV ' + boxName + ' 12.2 = ' + str(timeDiff)) + if likeCountStr: + # show the number of likes next to icon + likeStr += '\n' likeStr = \ '\n' - if likeCountStr: - # show the number of likes next to icon - likeStr += '\n' # benchmark 12.5 if not allowDownloads: