diff --git a/src/main/twirl/gitbucket/core/account/groupform.scala.html b/src/main/twirl/gitbucket/core/account/groupform.scala.html index 8a41b77..6d74cc1 100644 --- a/src/main/twirl/gitbucket/core/account/groupform.scala.html +++ b/src/main/twirl/gitbucket/core/account/groupform.scala.html @@ -77,6 +77,7 @@ function(data, status){ if(data == 'user'){ addMemberHTML(userName, false); + $('#memberName').val(''); } else { $('#error-members').text('User does not exist.'); } @@ -118,7 +119,7 @@ .append(' ') .append($('').attr('href', '@context.path/' + userName).text(userName)) .append(' ') - .append($('(remove)'))); + .append($(''))); } function updateMembers(){ diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 0d41655..af71d81 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -1405,9 +1405,7 @@ } ul.collaborator a.remove { - color: #dd0000; - text-decoration: underline; - padding-top: 4px; + padding: 6px; } /****************************************************************************/