Fix text truncate (#26354) (#26384)

Backport #26354 by @Maks1mS

Fixes: https://github.com/go-gitea/gitea/issues/25597

Before:

![image](https://github.com/go-gitea/gitea/assets/36362599/c8c27bcb-469f-4def-8521-d9e054c16ecb)

After:

![image](https://github.com/go-gitea/gitea/assets/36362599/2405b6e8-fc5c-4b13-b66b-007bc11edbc4)

Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
(cherry picked from commit f329982b6ea1d2f0256a58d77415852b9cfc631c)
This commit is contained in:
Giteabot 2023-08-08 10:14:25 +08:00 committed by Earl Warren
parent 46ba658cc2
commit 802701acad
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1301,7 +1301,7 @@ img.ui.avatar,
}
.ui .text.truncate {
overflow: hidden;
overflow-x: clip;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;