summaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
author0ko <0ko@noreply.codeberg.org>2024-06-11 05:57:27 +0200
committer0ko <0ko@noreply.codeberg.org>2024-06-11 05:57:27 +0200
commit467460679b05e65521c6036040a8e479ae71bc74 (patch)
tree68955a6f32961f6109b16b2dee92d7e41d9d5a4d /templates/shared
parentFix margin above headline in rendered org-mode (#4076) (diff)
downloadforgejo-467460679b05e65521c6036040a8e479ae71bc74.tar.xz
forgejo-467460679b05e65521c6036040a8e479ae71bc74.zip
Replace `gt-word-break` with `tw-break-anywhere`
Mass replace based on https://github.com/go-gitea/gitea/pull/31183/files.
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/user/org_profile_avatar.tmpl2
-rw-r--r--templates/shared/user/profile_big_avatar.tmpl4
2 files changed, 3 insertions, 3 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">
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl
index a173424eb1..8590c712ca 100644
--- a/templates/shared/user/profile_big_avatar.tmpl
+++ b/templates/shared/user/profile_big_avatar.tmpl
@@ -11,7 +11,7 @@
</span>
{{end}}
</div>
- <div class="content gt-word-break profile-avatar-name">
+ <div class="content tw-break-anywhere profile-avatar-name">
{{if .ContextUser.FullName}}<span class="header text center">{{.ContextUser.FullName}}</span>{{end}}
<span class="username text center">{{.ContextUser.Name}}{{if .ContextUser.Pronouns}} ยท {{.ContextUser.Pronouns}}{{end}} {{if .IsAdmin}}
<a class="muted" href="{{AppSubUrl}}/admin/users/{{.ContextUser.ID}}" data-tooltip-content="{{ctx.Locale.Tr "admin.users.details"}}">
@@ -25,7 +25,7 @@
{{end}}
</div>
</div>
- <div class="extra content gt-word-break">
+ <div class="extra content tw-break-anywhere">
<ul>
{{if .ContextUser.Location}}
<li>