Skip to content

Commit

Permalink
Update outdated label to use Fomantic UI style
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Oct 16, 2020
1 parent 25f7e1c commit 2457949
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/comments.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
{{end}}
<a href="{{(index $comms 0).CodeCommentURL}}" class="file-comment">{{$filename}}</a>
{{if and $invalid (not $resolved)}}
<span class="tag">
<span class="ui label basic small yellow">
{{$.i18n.Tr "repo.issues.review.outdated"}}
</span>
{{end}}
Expand Down
12 changes: 3 additions & 9 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -1219,16 +1219,10 @@
.hide-outdated {
display: block;
}
}

.tag {
color: black;
margin: 3px 0 0 5px;
padding: 2px 5px;
font-size: 12px;
border: 1px solid rgba(0, 0, 0, .1);
border-radius: 3px;
background-color: #fffbb2;
.label {
margin-left: 5px;
}
}
}
}
Expand Down

0 comments on commit 2457949

Please sign in to comment.