From a829c965d53c316c2d65a1fe955f807b535af92d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 May 2023 11:58:35 +0100 Subject: [PATCH] Style on the link --- webapp_utils.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp_utils.py b/webapp_utils.py index 2ffbea076..d69adada4 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -1408,18 +1408,19 @@ def get_post_attachments_as_html(base_dir: str, show_img_str + '' + \ '
\n' - attachment_str += '' - if media_license and media_creator: - attachment_str += '
' img_attachment_style = \ 'min-height:100%;min-width:100%;' + \ 'height:auto;width:auto;position:absolute;' + \ 'top:-100%;bottom:-100%;left:-100%;right:-100%;' + \ 'margin:auto;' + attachment_str += \ + '' + if media_license and media_creator: + attachment_str += '
' attachment_str += \ '' + image_description + '\n' if media_license and media_creator: