diff --git a/templates/snippets/myhome_extra_script.html b/templates/snippets/myhome_extra_script.html index ea02f736d1..f602355aae 100644 --- a/templates/snippets/myhome_extra_script.html +++ b/templates/snippets/myhome_extra_script.html @@ -13,6 +13,7 @@ $(function() { $("#repo_id").val($(this).attr("data")); $("#repo-share-form").modal({appendTo: "#main"}); addAutocomplete('#email_or_group', '#repo-share-form', share_list); + $('.ui-autocomplete').css({'max-height': window.innerHeight - $('.ui-autocomplete-input').offset().top - $('.ui-autocomplete-input').height() - 10, 'overflow': 'auto'}); }); //check before post