]> source.dussan.org Git - gitea.git/commitdiff
Fix overflow on issue dependency (#30484) (#30494)
authorGiteabot <teabot@gitea.io>
Mon, 15 Apr 2024 08:58:09 +0000 (16:58 +0800)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2024 08:58:09 +0000 (16:58 +0800)
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>
web_src/css/repo.css

index bd18f9ba57c19df69d147abd71a2fb0b769a93c0..39e253d003275f7b07a384c9e3e056ffbd4ebf7a 100644 (file)
@@ -1063,6 +1063,12 @@ td .commit-summary {
   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 {
   box-shadow: none;
 }