aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-11-14 14:31:43 +0800
committerGitHub <noreply@github.com>2023-11-14 14:31:43 +0800
commitd72e20627d3a7b1c243858f12e01d013509d8b5e (patch)
tree0c79e6bb4372d232021236961d7fb67c0e4fc25a
parent00cd5ba6f4eb444085649aae6167bed32463e76b (diff)
downloadgitea-d72e20627d3a7b1c243858f12e01d013509d8b5e.tar.gz
gitea-d72e20627d3a7b1c243858f12e01d013509d8b5e.zip
Add word break to the repo list in admin settings page (#28034) (#28035)
Backport #28034 by @yp05327 Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/ed464937-e20d-4f5b-b997-e86c2d96469d) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/471e77b3-516e-4ae9-b901-0cf8745eb9aa) Co-authored-by: yp05327 <576951401@qq.com>
-rw-r--r--templates/admin/repo/list.tmpl4
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}}