diff --git a/webapp_create_post.py b/webapp_create_post.py index 6479a76ea..af3b42c1f 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -622,10 +622,13 @@ def html_new_post(edit_post_params: {}, new_post_image_section += \ ' \n' + image_description_style = 'height:' + str(image_description_height) + 'px' + # TODO currently not supported by Firefox but may be better in future + # image_description_style = 'field-sizing: content' new_post_image_section += \ ' \n' + 'style="' + image_description_style + \ + '" spellcheck="true" autocomplete="on">\n' media_creator_str = translate['Media creator'] new_post_image_section += \ edit_text_field(media_creator_str, 'mediaCreator', '', '') @@ -1352,9 +1355,13 @@ def html_new_post(edit_post_params: {}, _remove_initial_mentions_from_content(default_message) if endpoint != 'newreadingstatus': + message_box_style = \ + "height:" + str(message_box_height) + 'px' + # TODO currently not supported by Firefox but may be better in future + # message_box_style = "field-sizing: content" new_post_form += \ - ' \n' new_post_form += \