Skip to content

Commit d72e206

Browse files
GiteaBotyp05327
andauthored
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>
1 parent 00cd5ba commit d72e206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/admin/repo/list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
<tr>
4848
<td>{{.ID}}</td>
4949
<td>
50-
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
50+
<a class="gt-word-break" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
5151
{{if .Owner.Visibility.IsPrivate}}
5252
<span class="text gold">{{svg "octicon-lock"}}</span>
5353
{{end}}
5454
</td>
5555
<td>
56-
<a href="{{.Link}}">{{.Name}}</a>
56+
<a class="gt-word-break" href="{{.Link}}">{{.Name}}</a>
5757
{{if .IsArchived}}
5858
<span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span>
5959
{{end}}

0 commit comments

Comments
 (0)