Skip to content

Commit

Permalink
Use hidden over clip for text truncation (#26520) (#26522)
Browse files Browse the repository at this point in the history
Backport #26520 by @silverwind

Avoid browser bugs:

- Firefox not cutting off -
#26354 (comment)
- Safari not showing ellipsis -
#26354 (comment)

Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
GiteaBot and silverwind committed Aug 15, 2023
1 parent 31208fe commit 6d60d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,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 6d60d4e

Please sign in to comment.