Use smaller font size for high build action IDs
This commit is contained in:
parent
59cd593a3b
commit
985e641e35
|
@ -339,10 +339,14 @@ function showBuildActions(ajaxRequest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stateElement.title = tooltipLines.join('\n');
|
stateElement.title = tooltipLines.join('\n');
|
||||||
stateElement.appendChild(GenericRendering.renderLink(value, row, function() {
|
const idLink = GenericRendering.renderLink(value, row, function() {
|
||||||
queryBuildActionDetails(row.id);
|
queryBuildActionDetails(row.id);
|
||||||
return false;
|
return false;
|
||||||
}, undefined, undefined, '#build-action-details-section?' + row.id));
|
}, undefined, undefined, '#build-action-details-section?' + row.id);
|
||||||
|
if (value >= 100) {
|
||||||
|
idLink.style.fontSize = '80%';
|
||||||
|
}
|
||||||
|
stateElement.appendChild(idLink);
|
||||||
return stateElement;
|
return stateElement;
|
||||||
},
|
},
|
||||||
taskName: function (value) {
|
taskName: function (value) {
|
||||||
|
|
Loading…
Reference in New Issue