mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 15:37:35 +00:00
Backport #26520 by @silverwind
Avoid browser bugs:
- Firefox not cutting off -
https://github.com/go-gitea/gitea/pull/26354#issuecomment-1678456052
- Safari not showing ellipsis -
https://github.com/go-gitea/gitea/pull/26354#issuecomment-1678812801
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 6d60d4e554
)
This commit is contained in:
parent
5289619383
commit
682f613810
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue