aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-06-04 15:57:11 +0200
committerGitHub <noreply@github.com>2024-06-04 13:57:11 +0000
commit138e946c3d8e2731f11a3e3b6876889694822f46 (patch)
tree7c9ae88108533c6cb63edb6e708cdde7ed9316a9 /templates/admin
parent90008111181b874ac018455d8d7a2f8bfe6bc71e (diff)
downloadgitea-138e946c3d8e2731f11a3e3b6876889694822f46.tar.gz
gitea-138e946c3d8e2731f11a3e3b6876889694822f46.zip
Replace `gt-word-break` with `tw-break-anywhere` (#31183)
`overflow-wrap: anywhere` is a superior alternative to `word-wrap: break-word` and we were already setting it in the class. I tested a few cases, all look good.
Diffstat (limited to 'templates/admin')
-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 4b27d87a45..69031e42eb 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -47,13 +47,13 @@
<tr>
<td>{{.ID}}</td>
<td>
- <a class="gt-word-break" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
+ <a class="tw-break-anywhere" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
{{if .Owner.Visibility.IsPrivate}}
<span class="text gold">{{svg "octicon-lock"}}</span>
{{end}}
</td>
<td>
- <a class="gt-word-break" href="{{.Link}}">{{.Name}}</a>
+ <a class="tw-break-anywhere" href="{{.Link}}">{{.Name}}</a>
{{if .IsArchived}}
<span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span>
{{end}}