Extra height for blog posts

main
Bob Mottram 2020-02-24 13:35:20 +00:00
parent 756119d904
commit 9b48742ae3
1 changed files with 4 additions and 0 deletions

View File

@ -1475,8 +1475,12 @@ def htmlNewPost(mediaInstance: bool,translate: {}, \
messageBoxHeight=400
if mediaInstance:
messageBoxHeight=200
if endpoint=='newquestion':
messageBoxHeight=100
elif endpoint=='newblog':
messageBoxHeight=800
newPostForm+= \
' <textarea id="message" name="message" style="height:'+ \
str(messageBoxHeight)+'px">'+mentionsStr+'</textarea>'