Skip to content

Commit bab4171

Browse files
committed
fix: tooltip arrow change
1 parent 42c1576 commit bab4171

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/visualBuilder/components/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Tooltip = ({ children, content, placement = 'top-start' }: TooltipProps) =
8989

9090
if (side === 'top' || side === 'bottom') {
9191
// For top/bottom placements, center the arrow horizontally
92-
arrowElement.style.left = `${tooltipRect.width / 2 - 4}px`; // 4px = half arrow width
92+
arrowElement.style.left = `${14}px`; // 4px = half arrow width
9393
if (arrowY != null) {
9494
arrowElement.style.top = `${arrowY}px`;
9595
}

0 commit comments

Comments
 (0)