From 44846b8ee8c90d5cb39d0f1998c88650e220a534 Mon Sep 17 00:00:00 2001 From: Kyle D Date: Fri, 29 Sep 2023 18:37:26 -0400 Subject: [PATCH 1/3] Remove max-width and add hide text overflow --- templates/repo/issue/view_content/sidebar.tmpl | 12 ++++++------ web_src/css/repo.css | 13 ------------- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index c3ba15390bb4..4cdc8828b112 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -427,7 +427,7 @@
{{range .BlockingDependencies}} -
+ -
+
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trash" 16}} @@ -459,7 +459,7 @@
{{range .BlockedByDependencies}} -
+ -
+
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trash" 16}} @@ -479,7 +479,7 @@ {{end}} {{if $.CanCreateIssueDependencies}} {{range .BlockedByDependenciesNotPermitted}} -
+
{{svg "octicon-lock" 16}} @@ -491,7 +491,7 @@ {{.Repository.OwnerName}}/{{.Repository.Name}}
-
+
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trash" 16}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index d0d001bf5232..323442623c54 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -95,23 +95,10 @@ } .repository .issue-content-right .ui.list .title { - max-width: 200px; overflow: hidden; text-overflow: ellipsis; } -@media (max-width: 1200px) { - .repository .issue-content-right .ui.list .title { - max-width: 150px; - } -} - -@media (max-width: 1000px) { - .repository .issue-content-right .ui.list .title { - max-width: 100px; - } -} - .repository .issue-content-right #deadlineForm input { width: 12.8rem; border-radius: var(--border-radius) 0 0 var(--border-radius); From ff346b60761c29b5e78ba7ad6de9ba1c63269ed1 Mon Sep 17 00:00:00 2001 From: Kyle D Date: Mon, 9 Oct 2023 17:01:23 -0400 Subject: [PATCH 2/3] Fix formatting --- .../repo/issue/view_content/sidebar.tmpl | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 4cdc8828b112..dd44621ee982 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -427,12 +427,12 @@
{{range .BlockingDependencies}} -
-
+
+
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}} -
+
{{.Repository.OwnerName}}/{{.Repository.Name}}
@@ -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}} @@ -459,16 +459,16 @@
{{range .BlockedByDependencies}} -
-
+
+
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}} -
+
{{.Repository.OwnerName}}/{{.Repository.Name}}
-
+
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trash" 16}} @@ -479,19 +479,19 @@ {{end}} {{if $.CanCreateIssueDependencies}} {{range .BlockedByDependenciesNotPermitted}} -