aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared/user/org_profile_avatar.tmpl
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/shared/user/org_profile_avatar.tmpl
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/shared/user/org_profile_avatar.tmpl')
-rw-r--r--templates/shared/user/org_profile_avatar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/user/org_profile_avatar.tmpl b/templates/shared/user/org_profile_avatar.tmpl
index d67f133abf..c0abcabff1 100644
--- a/templates/shared/user/org_profile_avatar.tmpl
+++ b/templates/shared/user/org_profile_avatar.tmpl
@@ -2,7 +2,7 @@
<div class="ui container">
<div class="ui vertically grid head">
<div class="column">
- <div class="ui header tw-flex tw-items-center gt-word-break">
+ <div class="ui header tw-flex tw-items-center tw-break-anywhere">
{{ctx.AvatarUtils.Avatar . 100}}
<span class="text grey"><a class="muted" href="{{.HomeLink}}">{{.DisplayName}}</a></span>
<span class="org-visibility">