diff --git a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html index cf042f3..39c0684 100644 --- a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html +++ b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html @@ -8,9 +8,9 @@ @if(comment.fileName.isDefined){filename="@comment.fileName.get"} @if(comment.newLine.isDefined){newline="@comment.newLine.get"} @if(comment.oldLine.isDefined){oldline="@comment.oldLine.get"}> -
@helpers.avatarLink(comment.commentedUserName, 48)
+ @helpers.avatar(comment.commentedUserName, 20) @helpers.user(comment.commentedUserName, styleClass="username strong") commented diff --git a/src/main/twirl/gitbucket/core/issues/commentform.scala.html b/src/main/twirl/gitbucket/core/issues/commentform.scala.html index 32316c7..a022ac1 100644 --- a/src/main/twirl/gitbucket/core/issues/commentform.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentform.scala.html @@ -7,7 +7,6 @@ @if(isEditable){

-
@helpers.avatarLink(context.loginAccount.get.userName, 48)
@gitbucket.core.helper.html.preview( diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index a2172c9..a08d310 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -6,10 +6,11 @@ @import gitbucket.core.view.helpers @import gitbucket.core.model.CommitComment @if(issue.isDefined){ -
@helpers.avatarLink(issue.get.openedUserName, 48)
- @helpers.user(issue.get.openedUserName, styleClass="username strong") commented @gitbucket.core.helper.html.datetimeago(issue.get.registeredDate) + @helpers.avatar(issue.get.openedUserName, 20) + @helpers.user(issue.get.openedUserName, styleClass="username strong") + commented @gitbucket.core.helper.html.datetimeago(issue.get.registeredDate) @if(isManageable || context.loginAccount.map(_.userName == issue.get.openedUserName).getOrElse(false)){ @@ -35,9 +36,9 @@ case comment: gitbucket.core.model.IssueComment => { @if(comment.action != "close" && comment.action != "reopen" && comment.action != "delete_branch" && comment.action != "commit" && comment.action != "refer"){ -
@helpers.avatarLink(comment.commentedUserName, 48)
+ @helpers.avatar(comment.commentedUserName, 20) @helpers.user(comment.commentedUserName, styleClass="username strong") @if(comment.action == "comment"){ diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 8ea9bdb..566f447 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -779,10 +779,6 @@ padding: 0px; } -div.issue-avatar-image { - float: left; -} - div.issue-participants { margin-bottom: 15px; margin-left: 50px; @@ -790,7 +786,6 @@ div.issue-comment-box, div.commit-comment-box { margin-bottom: 15px; - margin-left: 70px; } div.issue-comment-box > div.panel-body, @@ -879,7 +874,7 @@ .discussion-item { position: relative; - margin: 15px 0 15px 79px; + margin: 15px 0 15px 20px; padding-left: 25px; } .discussion-item-header {