mirror of https://gitlab.com/bashrc2/epicyon
Remove attachment style
parent
a829c965d5
commit
4783a336f1
|
@ -1408,14 +1408,8 @@ def get_post_attachments_as_html(base_dir: str,
|
|||
show_img_str + '</summary>' + \
|
||||
'<div id="' + post_id + '">\n'
|
||||
|
||||
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 += \
|
||||
'<a href="' + image_url + \
|
||||
'" style="' + img_attachment_style + '" tabindex="10">'
|
||||
'<a href="' + image_url + '" tabindex="10">'
|
||||
if media_license and media_creator:
|
||||
attachment_str += '<figure>'
|
||||
attachment_str += \
|
||||
|
|
Loading…
Reference in New Issue