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.
This commit is contained in:
silverwind 2024-06-04 15:57:11 +02:00 committed by GitHub
parent 9000811118
commit 138e946c3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 18 additions and 23 deletions

View file

@ -125,7 +125,7 @@ export function initRepoIssueSidebarList() {
}
filteredResponse.results.push({
name: `<div class="gt-ellipsis">#${issue.number} ${htmlEscape(issue.title)}</div>
<div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`,
<div class="text small tw-break-anywhere">${htmlEscape(issue.repository.full_name)}</div>`,
value: issue.id,
});
});