Fix overflow on issue dependency (#30484) (#30494)

Backport #30484 by @silverwind

Small tweak here to prevent this and likely other events from
overflowing in the timeline:

<img width="895" alt="Screenshot 2024-04-14 at 22 53 17"
src="https://github.com/go-gitea/gitea/assets/115237/001b4f6b-f649-44ff-b2f0-c8e0dedeb384">

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 2efc81d200106cd8707dae1a1bf50ea586b4c846)
This commit is contained in:
Giteabot 2024-04-15 16:58:09 +08:00 committed by Earl Warren
parent 55447525f6
commit ce31e611e2
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1083,6 +1083,12 @@ td .commit-summary {
margin-left: 15px; margin-left: 15px;
} }
.repository.view.issue .comment-list .event .detail .text {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.repository.view.issue .comment-list .event .segments { .repository.view.issue .comment-list .event .segments {
box-shadow: none; box-shadow: none;
} }