Skip to content

Commit 6d60d4e

Browse files
GiteaBotsilverwind
andauthored
Use hidden over clip for text truncation (#26520) (#26522)
Backport #26520 by @silverwind Avoid browser bugs: - Firefox not cutting off - #26354 (comment) - Safari not showing ellipsis - #26354 (comment) Co-authored-by: silverwind <[email protected]>
1 parent 31208fe commit 6d60d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/css/base.css

Lines changed: 1 addition & 1 deletion
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)