diff --git a/source/templates/classic/partials/projects.ejs b/source/templates/classic/partials/projects.ejs index e16d2470..b8659121 100644 --- a/source/templates/classic/partials/projects.ejs +++ b/source/templates/classic/partials/projects.ejs @@ -62,24 +62,20 @@ <% } %> <% if (items.length) { %>
- <% for (const {type, text} of items) { %> -
-
-
- <% if (type === "DRAFT_ISSUE") { %> - - <% } else if (type === "ISSUE") { %> - - <% } else if (type === "ISSUE") { %> - - <% } else { %> - - <% } %> - <%= text %> -
-
-
- <% } %> + <% for (const {type, text} of items) { %> +
+ <% if (type === "DRAFT_ISSUE") { %> + + <% } else if (type === "ISSUE") { %> + + <% } else if (type === "ISSUE") { %> + + <% } else { %> + + <% } %> + <%= text %> +
+ <% } %>
<% } %> <% } %> diff --git a/source/templates/classic/style.css b/source/templates/classic/style.css index 16e436a0..361a9348 100644 --- a/source/templates/classic/style.css +++ b/source/templates/classic/style.css @@ -921,6 +921,14 @@ .project .items, .project-items { padding-left: 11px; } + .project .items .text, .project-items .text { + text-overflow: ellipsis; + overflow: hidden; + width: 426px; + } + .large .project .items .text, .large .project-items .text { + width: 916px; + } /* Star lists */ .starlist { diff --git a/source/templates/repository/partials/projects.ejs b/source/templates/repository/partials/projects.ejs index 9c50c903..90a323d2 100644 --- a/source/templates/repository/partials/projects.ejs +++ b/source/templates/repository/partials/projects.ejs @@ -53,24 +53,20 @@ <% } %> <% if (items.length) { %>
- <% for (const {type, text} of items) { %> -
-
-
- <% if (type === "DRAFT_ISSUE") { %> - - <% } else if (type === "ISSUE") { %> - - <% } else if (type === "ISSUE") { %> - - <% } else { %> - - <% } %> - <%= text %> -
-
-
- <% } %> + <% for (const {type, text} of items) { %> +
+ <% if (type === "DRAFT_ISSUE") { %> + + <% } else if (type === "ISSUE") { %> + + <% } else if (type === "ISSUE") { %> + + <% } else { %> + + <% } %> + <%= text %> +
+ <% } %>
<% } %> <% } %>