Skip to content

Commit 4f9b8b3

Browse files
authored
Fix overflow on notifications (#31178)
Fixes #31170. <img width="1312" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/627711ed-93ca-4be6-b958-10d673ae9517">
1 parent a755749 commit 4f9b8b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/user/notification/notification_div.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
{{end}}
4545
</div>
4646
<a class="notifications-link tw-flex tw-flex-1 tw-flex-col silenced" href="{{.Link ctx}}">
47-
<div class="notifications-top-row tw-text-13">
47+
<div class="notifications-top-row tw-text-13 tw-break-anywhere">
4848
{{.Repository.FullName}} {{if .Issue}}<span class="text light-3">#{{.Issue.Index}}</span>{{end}}
4949
{{if eq .Status 3}}
5050
{{svg "octicon-pin" 13 "text blue tw-mt-0.5 tw-ml-1"}}
5151
{{end}}
5252
</div>
5353
<div class="notifications-bottom-row tw-text-16 tw-py-0.5">
54-
<span class="issue-title">
54+
<span class="issue-title tw-break-anywhere">
5555
{{if .Issue}}
5656
{{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}}
5757
{{else}}

0 commit comments

Comments
 (0)