Skip to content

Commit 14763e0

Browse files
silverwindGiteaBot
authored andcommitted
Use hidden over clip for text truncation (go-gitea#26520)
Avoid browser bugs: - Firefox not cutting off - go-gitea#26354 (comment) - Safari not showing ellipsis - go-gitea#26354 (comment)
1 parent 31208fe commit 14763e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/css/base.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ img.ui.avatar,
13011301
}
13021302

13031303
.ui .text.truncate {
1304-
overflow-x: clip;
1304+
overflow-x: hidden;
13051305
text-overflow: ellipsis;
13061306
white-space: nowrap;
13071307
display: inline-block;

0 commit comments

Comments
 (0)