From 27e4ac3e40265722abf9f99d519cb5985eebd1c7 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 15 Aug 2023 15:23:51 +0200 Subject: [PATCH] Use `hidden` over `clip` for text truncation (#26520) Avoid browser bugs: - Firefox not cutting off - https://github.com/go-gitea/gitea/pull/26354#issuecomment-1678456052 - Safari not showing ellipsis - https://github.com/go-gitea/gitea/pull/26354#issuecomment-1678812801 --- 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 eca08fa1b..bdc1234bc 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1235,7 +1235,7 @@ img.ui.avatar, } .ui .text.truncate { - overflow-x: clip; + overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block;