0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Updated the tooltip offset

refs https://github.com/TryGhost/Team/issues/1986
This commit is contained in:
Djordje Vlaisavljevic 2022-09-29 09:25:59 +02:00
parent aa6f65ac22
commit d1c269b2e7

View file

@ -283,7 +283,7 @@ export default class PaidBreakdown extends Component {
tooltipEl.style.display = 'block';
tooltipEl.style.opacity = 1;
tooltipEl.style.position = 'absolute';
tooltipEl.style.left = tooltip.x - offsetX + 'px';
tooltipEl.style.left = tooltip.x - offsetX + 120 + 'px';
tooltipEl.style.top = '70px';
},
callbacks: {