mirror of https://gitlab.com/bashrc2/epicyon
debug
parent
c529c42a21
commit
297895365b
|
@ -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 {
|
||||
|
|
|
@ -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='<p> </p>'+footerStr
|
||||
if postJsonObject['object']['sensitive']:
|
||||
footerStr='<br>'+footerStr
|
||||
if attachmentStr:
|
||||
footerStr='<br><br><br><br>'+footerStr
|
||||
|
||||
if not postJsonObject['object'].get('summary'):
|
||||
postJsonObject['object']['summary']=''
|
||||
|
|
Loading…
Reference in New Issue