Skip to content

Commit 27e4ac3

Browse files
authored
Use hidden over clip for text truncation (#26520)
Avoid browser bugs: - Firefox not cutting off - #26354 (comment) - Safari not showing ellipsis - #26354 (comment)
1 parent 79d74d2 commit 27e4ac3

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
@@ -1235,7 +1235,7 @@ img.ui.avatar,
12351235
}
12361236

12371237
.ui .text.truncate {
1238-
overflow-x: clip;
1238+
overflow-x: hidden;
12391239
text-overflow: ellipsis;
12401240
white-space: nowrap;
12411241
display: inline-block;

0 commit comments

Comments
 (0)