forked from indymedia/epicyon
debug
parent
c529c42a21
commit
297895365b
|
@ -327,9 +327,9 @@ a:link {
|
||||||
}
|
}
|
||||||
|
|
||||||
.container img.attachment {
|
.container img.attachment {
|
||||||
max-width: 115%;
|
max-width: 120%;
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
width: 115%;
|
width: 120%;
|
||||||
border-radius: 5%;
|
border-radius: 5%;
|
||||||
}
|
}
|
||||||
.container img.right {
|
.container img.right {
|
||||||
|
|
|
@ -2619,8 +2619,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
postJsonObject['object']['sensitive']=False
|
postJsonObject['object']['sensitive']=False
|
||||||
|
|
||||||
# add an extra line if there is a content warning, for better vertical spacing on mobile
|
# add an extra line if there is a content warning, for better vertical spacing on mobile
|
||||||
if postJsonObject['object']['sensitive'] or attachmentStr:
|
if postJsonObject['object']['sensitive']:
|
||||||
footerStr='<p> </p>'+footerStr
|
footerStr='<br>'+footerStr
|
||||||
|
if attachmentStr:
|
||||||
|
footerStr='<br><br><br><br>'+footerStr
|
||||||
|
|
||||||
if not postJsonObject['object'].get('summary'):
|
if not postJsonObject['object'].get('summary'):
|
||||||
postJsonObject['object']['summary']=''
|
postJsonObject['object']['summary']=''
|
||||||
|
|
Loading…
Reference in New Issue