From 71f091ef9749b5ea166c8398ccf546de467d00c7 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 10 Oct 2023 10:02:26 +0800 Subject: [PATCH] Remove max-width and add hide text overflow (#27359) (#27550) Backport #27359 by @kdumontnu Closes https://github.com/go-gitea/gitea/issues/27358 Co-authored-by: Kyle D --- .../repo/issue/view_content/sidebar.tmpl | 24 +++++++++---------- web_src/css/repo.css | 13 ---------- 2 files changed, 12 insertions(+), 25 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index c3ba15390b..4be1f52dd5 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -428,15 +428,15 @@
{{range .BlockingDependencies}}
-
+
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}} -
+
{{.Repository.OwnerName}}/{{.Repository.Name}}
-
+
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trash" 16}} @@ -446,7 +446,7 @@
{{end}} {{if .BlockingDependenciesNotPermitted}} -
+
{{ctx.Locale.TrN (len .BlockingDependenciesNotPermitted) "repo.issues.dependency.no_permission_1" "repo.issues.dependency.no_permission_n" (len .BlockingDependenciesNotPermitted)}}
{{end}} @@ -460,15 +460,15 @@
{{range .BlockedByDependencies}}