Skip to content

Commit

Permalink
Fix progress bar location (jenkinsci#6199)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Jan 24, 2022
1 parent 708c2df commit 0cb248b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/src/main/resources/lib/hudson/buildCaption.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<h1 class="build-caption page-headline">
<l:icon alt="${it.iconColor.description}" class="${it.buildStatusIconClassName} icon-xlg" tooltip="${it.iconColor.description}"/>
<span class="jenkins-icon-adjacent">
<d:invokeBody trim="true"/>
</span>
<j:if test="${it.building}">
<div class="build-caption-progress-container" style="float:right">
<table class="middle-align"><tr>
Expand All @@ -43,8 +47,6 @@ THE SOFTWARE.
</tr></table>
</div>
</j:if>

<l:icon alt="${it.iconColor.description}" class="${it.buildStatusIconClassName} icon-xlg" tooltip="${it.iconColor.description}"/>
<script>
(function(){
function updateBuildCaptionIcon(){
Expand All @@ -71,8 +73,5 @@ THE SOFTWARE.

})();
</script>
<span class="jenkins-icon-adjacent">
<d:invokeBody trim="true"/>
</span>
</h1>
</j:jelly>
1 change: 1 addition & 0 deletions war/src/main/less/base/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,7 @@ svg.icon-xlg {

.jenkins-icon-adjacent {
margin-left: 0.5rem;
width: 100%;
}

/* -------------- Unclassified ---------- */
Expand Down

0 comments on commit 0cb248b

Please sign in to comment.