diff options
author | silverwind <me@silverwind.io> | 2019-02-02 13:44:33 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-02-02 14:44:33 +0200 |
commit | af22df8314a0ddfe180de04d70d4b3d70fdbf23d (patch) | |
tree | 4186cf823e4ff9932a2a403997fd24a4022f38d7 /templates/repo | |
parent | f9d4bd53e6ace32593f273bb6a57158594f7f3ea (diff) | |
download | gitea-af22df8314a0ddfe180de04d70d4b3d70fdbf23d.tar.gz gitea-af22df8314a0ddfe180de04d70d4b3d70fdbf23d.zip |
UI: Better support for long repo names (#5932)
* UI: Make long repo names wrap less often
* also adjust news feed column widths
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/header.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 0abea4b8c1..86fbdcff44 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -2,7 +2,7 @@ {{with .Repository}} <div class="ui container"> <div class="ui stackable grid header-grid"> - <div class="seven wide column"> + <div class="nine wide column"> <div class="ui huge breadcrumb"> <i class="mega-octicon octicon-{{if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else if .IsFork}}repo-forked{{else}}repo{{end}}"></i> <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a> @@ -14,7 +14,7 @@ </div> </div> - <div class="ui nine wide right aligned column"> + <div class="ui seven wide right aligned column"> <div class="ui compact labeled button" tabindex="0"> <a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}"> <i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} |