1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Fixes display of wf node details link in FF by adding height and width

This commit is contained in:
mabashian 2018-12-17 14:33:48 -05:00
parent f9854abfa1
commit 67d6a9f9ea

View File

@ -1053,6 +1053,8 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
thisNode.append("foreignObject") thisNode.append("foreignObject")
.attr("x", nodeW - 45) .attr("x", nodeW - 45)
.attr("y", nodeH - 15) .attr("y", nodeH - 15)
.attr("height", "15px")
.attr("width", "40px")
.attr("dy", ".35em") .attr("dy", ".35em")
.attr("class", "WorkflowChart-detailsLink") .attr("class", "WorkflowChart-detailsLink")
.style("display", function(d){ return d.job && d.job.status && d.job.id ? null : "none"; }) .style("display", function(d){ return d.job && d.job.status && d.job.id ? null : "none"; })