mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-04 03:09:34 +08:00
Use hidden
over clip
for text truncation (#26520)
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
This commit is contained in:
@ -1235,7 +1235,7 @@ img.ui.avatar,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui .text.truncate {
|
.ui .text.truncate {
|
||||||
overflow-x: clip;
|
overflow-x: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
Reference in New Issue
Block a user