Skip to content

Commit

Permalink
Use hidden over clip for text truncation (#26520)
Browse files Browse the repository at this point in the history
Avoid browser bugs:

- Firefox not cutting off -
#26354 (comment)
- Safari not showing ellipsis -
#26354 (comment)
  • Loading branch information
silverwind committed Aug 15, 2023
1 parent 79d74d2 commit 27e4ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/css/base.css
Expand Up @@ -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;
Expand Down

0 comments on commit 27e4ac3

Please sign in to comment.