diff --git a/frontend/src/components/common/HelpTooltip.vue b/frontend/src/components/common/HelpTooltip.vue index e95052da546..33a826b21fa 100644 --- a/frontend/src/components/common/HelpTooltip.vue +++ b/frontend/src/components/common/HelpTooltip.vue @@ -22,44 +22,32 @@ function updatePosition() { const el = triggerRef.value if (!el) return const rect = el.getBoundingClientRect() + console.log(rect) tooltipStyle.value = { - top: `${rect.top + window.scrollY}px`, + top: `${rect.top}px`, left: `${rect.left + rect.width / 2 + window.scrollX}px`, } }