diff --git a/media/css/seahub.css b/media/css/seahub.css index e06c940d3a..7f036621a4 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -1042,6 +1042,7 @@ textarea:-moz-placeholder { width:260px; height:80px; padding: 2px; + resize: vertical; } #repo-share-form { width:266px; diff --git a/templates/repo_view_file.html b/templates/repo_view_file.html index 2774b98d49..4b85f5b5e3 100644 --- a/templates/repo_view_file.html +++ b/templates/repo_view_file.html @@ -271,6 +271,7 @@ $('#rm-shared-link').click(function() { $('#send-shared-link').click(function() { $("#link-send-form").modal({appendTo: "#main", focus: false}); + $('#simplemodal-container').css('height', 'auto'); // link-send-form email autocomplete var share_list = [], contact_email; diff --git a/templates/snippets/myhome_extra_script.html b/templates/snippets/myhome_extra_script.html index 589e410ce3..26ff8681a4 100644 --- a/templates/snippets/myhome_extra_script.html +++ b/templates/snippets/myhome_extra_script.html @@ -17,6 +17,7 @@ $(function() { $(".repo-share-btn").click(function() { $("#repo_id").val($(this).attr("data")); $("#repo-share-form").modal({appendTo: "#main", focus:false}); + $('#simplemodal-container').css('height', 'auto'); addAutocomplete('#email_or_group', '#repo-share-form', share_list); });