# HG changeset patch # User Thomas Junk # Date 1558526428 -7200 # Node ID e1a75cd15450faa6e2b17f9ce6c5a2b7097109f5 # Parent 7d8c41cc50f5b0167e12a6d0ab7df08abf168ab5 available_fairway_depth: fix tooltip diff -r 7d8c41cc50f5 -r e1a75cd15450 client/src/components/fairway/AvailableFairwayDepth.vue --- a/client/src/components/fairway/AvailableFairwayDepth.vue Wed May 22 13:26:54 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepth.vue Wed May 22 14:00:28 2019 +0200 @@ -531,7 +531,7 @@ const value = Number.parseFloat(hoursInDays(d.ldc)).toFixed(2); d3.select("#tooltip") .text(value) - .attr("y", y - 10) + .attr("y", y - 40) .attr("x", d3.event.pageX - dy); //d3.event.pageX gives coordinates relative to SVG //dy gives offset of svg on page @@ -565,7 +565,7 @@ ); d3.select("#tooltip") .text(value) - .attr("y", y - 10) + .attr("y", y - 40) .attr("x", d3.event.pageX - dy); //d3.event.pageX gives coordinates relative to SVG //dy gives offset of svg on page