Skip to content

Commit

Permalink
[JENKINS-66749] Missing spaces in upstream/downstream project view (j…
Browse files Browse the repository at this point in the history
…enkinsci#5850)

Co-authored-by: Tim Jacomb <[email protected]>
  • Loading branch information
jamesD33064 and timja authored Nov 5, 2021
1 parent 935612d commit 322aac3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/hudson/buildCaption.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ THE SOFTWARE.

})();
</script>
<span style="margin-left:.2em;">
<span class="jenkins-icon-adjacent">
<d:invokeBody trim="true"/>
</span>
</h1>
Expand Down
6 changes: 4 additions & 2 deletions core/src/main/resources/lib/hudson/jobLink.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ THE SOFTWARE.
</st:attribute>
</st:documentation>

<l:icon alt="${job.iconColor.description}" class="${job.buildStatusIconClassName} icon-sm"/>
<a href="${h.getRelativeLinkTo(job)}" class="model-link"><l:breakable value="${job.fullDisplayName}"/></a>
<l:icon alt="${job.iconColor.description}" class="${job.buildStatusIconClassName} icon-sm"/>
<a href="${h.getRelativeLinkTo(job)}" class="model-link jenkins-icon-adjacent">
<l:breakable value="${job.fullDisplayName}"/>
</a>
</j:jelly>
4 changes: 4 additions & 0 deletions war/src/main/less/base/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,10 @@ svg.icon-xlg {
fill: currentColor;
}

.jenkins-icon-adjacent {
margin-left: 0.2rem;
}

/* -------------- Unclassified ---------- */

.spacer {
Expand Down

0 comments on commit 322aac3

Please sign in to comment.