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>
This commit is contained in:
Giteabot 2023-08-08 10:14:25 +08:00 committed by GitHub
parent cb1a4da5c2
commit f329982b6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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