Center attachment

This commit is contained in:
bashrc committed 2020-02-25 17:12:22 +00:00
1 parent 3307e978c5
commit fac248ee3b
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ def htmlBlogPostContent(baseDir: str,httpPrefix: str,translate: {}, \
replyStr,announceStr,likeStr, \
bookmarkStr,deleteStr,muteStr)
if attachmentStr:
blogStr+='<br>'+attachmentStr
blogStr+='<br><center>'+attachmentStr+'</center>'
if postJsonObject['object'].get('content'):
contentStr=addEmbeddedElements(translate,postJsonObject['object']['content'])
+8
View File
@@ -83,3 +83,11 @@ H3 {
font-size: var(--font-size5);
float: right;
}
img {
border-radius: 5%;
}
img:hover {
box-shadow: 0 0 2px 1px var(--gallery-hover);
}