forked from gitea/gitea
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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;