pingzh commented on a change in pull request #6174: [AIRFLOW-5543] Fix tooltip
disappears in tree and graph view
URL: https://github.com/apache/airflow/pull/6174#discussion_r327746566
##########
File path: airflow/www/templates/airflow/tree.html
##########
@@ -108,6 +109,22 @@
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });
+const taskTip = d3.tip()
+ .attr('class', 'tooltip')
+ .style('background', 'black')
+ .style('color', 'white')
+ .style("border", "solid")
+ .style("border-width", "1px")
+ .style("border-radius", "5px")
+ .style("padding", "10px")
+ .direction(function(toolTipHtml) {
Review comment:
that was my original design. but i did not like in the end as `d` is not
always the object.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services