Skip to content

Commit

Permalink
Merge pull request #204 from williaster/chris--fix-tooltip-offset
Browse files Browse the repository at this point in the history
[tooltip] fix tootlip with bounds offset
  • Loading branch information
hshoff committed Nov 29, 2017
2 parents dd9e963 + 898beec commit f382036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-tooltip/src/tooltips/TooltipWithBounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function TooltipWithBounds({
}

return (
<Tooltip style={{ top, left, ...style }}>
<Tooltip style={{ top: 0, transform: `translate(${left}px, ${top}px)`, ...style }}>
{children}
</Tooltip>
);
Expand Down

0 comments on commit f382036

Please sign in to comment.