Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Nov 24, 2023
1 parent 7c0642c commit 215b518
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
14 changes: 7 additions & 7 deletions core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ THE SOFTWARE.
<t:buildHealth job="${it.owner}" iconSizeClass="icon-sm" link="${it.baseUrl}/lastBuild"/>
</j:if>
${it.displayName}
<j:if test="${jobClass.isAssignableFrom(it.owner.class)}">
<a class="jenkins-button jenkins-button--tertiary"
href="${it.baseUrl}/buildTimeTrend"
tooltip="${%trend}">
<l:icon src="symbol-trend" />
</a>
</j:if>
<l:overflowButton tooltip="Atom feed"
icon="symbol-rss"
clazz="jenkins-button--tertiary">
Expand All @@ -58,6 +51,13 @@ THE SOFTWARE.
Atom feed ${%for failures}
</a>
</l:overflowButton>
<j:if test="${jobClass.isAssignableFrom(it.owner.class)}">
<a class="jenkins-button jenkins-button--tertiary"
href="${it.baseUrl}/buildTimeTrend"
tooltip="${%trend}">
<l:icon src="symbol-trend" />
</a>
</j:if>
</div>
</j:parse>

Expand Down
10 changes: 8 additions & 2 deletions war/src/main/scss/components/_side-panel-widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
.jenkins-button {
aspect-ratio: 1;
padding: 0;
min-height: 2rem;
margin-block: -3px;
min-height: 1.75rem;
margin-block: -1px;
margin-left: 2px;

svg {
width: 1rem;
height: 1rem;
}
}
}

Expand Down

0 comments on commit 215b518

Please sign in to comment.