From f329982b6ea1d2f0256a58d77415852b9cfc631c Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 8 Aug 2023 10:14:25 +0800 Subject: [PATCH] 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 --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 40f094fd24..70baa9c9f7 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1301,7 +1301,7 @@ img.ui.avatar, } .ui .text.truncate { - overflow: hidden; + overflow-x: clip; text-overflow: ellipsis; white-space: nowrap; display: inline-block;