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_r327745106
 
 

 ##########
 File path: airflow/www/templates/airflow/graph.html
 ##########
 @@ -128,6 +129,17 @@
         'queued': false,
         'no_status': false
     };
+    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")
+      .html(function(toolTipHtml) {
+        return toolTipHtml;
 
 Review comment:
   used to render the d3-tip

----------------------------------------------------------------
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

Reply via email to