Skip to content

Commit 9d8fba6

Browse files
pgaskinlunny
authored andcommitted
Smaller watch, star, and fork buttons (#2052)
1 parent 79daf31 commit 9d8fba6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/repo/header.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@
1414
</div>
1515

1616
<div class="ui right">
17-
<div class="ui labeled button" tabindex="0">
18-
<a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
17+
<div class="ui compact labeled button" tabindex="0">
18+
<a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
1919
<i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}
2020
</a>
2121
<a class="ui basic label" href="{{.Link}}/watchers">
2222
{{.NumWatches}}
2323
</a>
2424
</div>
25-
<div class="ui labeled button" tabindex="0">
26-
<a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
25+
<div class="ui compact labeled button" tabindex="0">
26+
<a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
2727
<i class="icon fa-star{{if not $.IsStaringRepo}}-o{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
2828
</a>
2929
<a class="ui basic label" href="{{.Link}}/stars">
3030
{{.NumStars}}
3131
</a>
3232
</div>
3333
{{if .CanBeForked}}
34-
<div class="ui labeled button" tabindex="0">
35-
<a class="ui button" href="{{AppSubUrl}}/repo/fork/{{.ID}}">
34+
<div class="ui compact labeled button" tabindex="0">
35+
<a class="ui compact button" href="{{AppSubUrl}}/repo/fork/{{.ID}}">
3636
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
3737
</a>
3838
<a class="ui basic label" href="{{.Link}}/forks">

0 commit comments

Comments
 (0)