Skip to content

Commit

Permalink
fix merge box icon color bug
Browse files Browse the repository at this point in the history
that because need some space beturn ``text`` and color defines

Signed-off-by: a1012112796 <1012112796@qq.com>
  • Loading branch information
a1012112796 committed Apr 5, 2020
1 parent 686850e commit 3049f77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/repo/issue/view_content/pull.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
</div>
{{end}}
<div class="comment merge box">
<a class="avatar text
{{- if .Issue.PullRequest.HasMerged}}purple
<a class="avatar text {{if .Issue.PullRequest.HasMerged}}purple
{{- else if .Issue.IsClosed}}grey
{{- else if .IsPullWorkInProgress}}grey
{{- else if .IsFilesConflicted}}grey
Expand Down

0 comments on commit 3049f77

Please sign in to comment.