From 9e77304467b6dbe45017908d74174b14c88f668c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Horvat?= Date: Mon, 30 Oct 2023 16:22:27 +0100 Subject: [PATCH] Improve position of the tooltip of the charts on the /insights page --- pontoon/insights/static/js/insights.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pontoon/insights/static/js/insights.js b/pontoon/insights/static/js/insights.js index 0153166021..68e9c2120d 100644 --- a/pontoon/insights/static/js/insights.js +++ b/pontoon/insights/static/js/insights.js @@ -75,6 +75,7 @@ var Pontoon = (function (my) { }, legendCallback: Pontoon.insights.customLegend(chart), tooltips: { + position: "nearest", mode: 'index', intersect: false, borderColor: style.getPropertyValue('--white-1'),