Skip to content

Commit

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

- Firefox not cutting off -
go-gitea#26354 (comment)
- Safari not showing ellipsis -
go-gitea#26354 (comment)
  • Loading branch information
silverwind authored and GiteaBot committed Aug 15, 2023
1 parent 31208fe commit 14763e0
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 14763e0

Please sign in to comment.