Extra div for message content

master
Bob Mottram 2019-08-21 14:17:30 +01:00
parent c3ef87683e
commit 19ff77a161
2 changed files with 7 additions and 1 deletions

View File

@ -318,7 +318,7 @@ a:link {
border: 2px solid var(--border-color); border: 2px solid var(--border-color);
background-color: var(--main-bg-color); background-color: var(--main-bg-color);
border-radius: 5px; border-radius: 5px;
padding: 10px; padding: 20px;
margin: 10px 0; margin: 10px 0;
} }
@ -329,6 +329,11 @@ a:link {
margin: 10px 0; margin: 10px 0;
} }
.message {
margin-left: 0px;
width: 80%;
}
.container p.administeredby { .container p.administeredby {
font-size: 18px; font-size: 18px;
} }

View File

@ -1312,6 +1312,7 @@ def individualPostAsHtml(baseDir: str, \
contentStr=htmlRemplaceEmojiFromTags(contentStr,postJsonObject['object']['tag']) contentStr=htmlRemplaceEmojiFromTags(contentStr,postJsonObject['object']['tag'])
contentStr=addEmbeddedVideo(contentStr) contentStr=addEmbeddedVideo(contentStr)
contentStr='<div class="message">'+contentStr+'</div>'
return \ return \
'<div class="'+containerClass+'">\n'+ \ '<div class="'+containerClass+'">\n'+ \