mirror of https://gitlab.com/bashrc2/epicyon
Extra height for blog posts
parent
756119d904
commit
9b48742ae3
|
@ -1475,8 +1475,12 @@ def htmlNewPost(mediaInstance: bool,translate: {}, \
|
||||||
messageBoxHeight=400
|
messageBoxHeight=400
|
||||||
if mediaInstance:
|
if mediaInstance:
|
||||||
messageBoxHeight=200
|
messageBoxHeight=200
|
||||||
|
|
||||||
if endpoint=='newquestion':
|
if endpoint=='newquestion':
|
||||||
messageBoxHeight=100
|
messageBoxHeight=100
|
||||||
|
elif endpoint=='newblog':
|
||||||
|
messageBoxHeight=800
|
||||||
|
|
||||||
newPostForm+= \
|
newPostForm+= \
|
||||||
' <textarea id="message" name="message" style="height:'+ \
|
' <textarea id="message" name="message" style="height:'+ \
|
||||||
str(messageBoxHeight)+'px">'+mentionsStr+'</textarea>'
|
str(messageBoxHeight)+'px">'+mentionsStr+'</textarea>'
|
||||||
|
|
Loading…
Reference in New Issue