diff options
author | Giteabot <teabot@gitea.io> | 2023-11-14 14:31:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 14:31:43 +0800 |
commit | d72e20627d3a7b1c243858f12e01d013509d8b5e (patch) | |
tree | 0c79e6bb4372d232021236961d7fb67c0e4fc25a | |
parent | 00cd5ba6f4eb444085649aae6167bed32463e76b (diff) | |
download | gitea-d72e20627d3a7b1c243858f12e01d013509d8b5e.tar.gz gitea-d72e20627d3a7b1c243858f12e01d013509d8b5e.zip |
Add word break to the repo list in admin settings page (#28034) (#28035)
Backport #28034 by @yp05327
Before:

After:

Co-authored-by: yp05327 <576951401@qq.com>
-rw-r--r-- | templates/admin/repo/list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index 2581864547..7102f73305 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -47,13 +47,13 @@ <tr> <td>{{.ID}}</td> <td> - <a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> + <a class="gt-word-break" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> {{if .Owner.Visibility.IsPrivate}} <span class="text gold">{{svg "octicon-lock"}}</span> {{end}} </td> <td> - <a href="{{.Link}}">{{.Name}}</a> + <a class="gt-word-break" href="{{.Link}}">{{.Name}}</a> {{if .IsArchived}} <span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span> {{end}} |