We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2f001 commit bbc59f4Copy full SHA for bbc59f4
src/utils/compute-positions.ts
@@ -59,7 +59,7 @@ export const computeTooltipPosition = async ({
59
right: '',
60
bottom: '',
61
...{ ...borderSide },
62
- [staticSide]: '-5px',
+ [staticSide]: border ? '-5px' : '-4px',
63
}
64
65
return { tooltipStyles: styles, tooltipArrowStyles: arrowStyle, place: placement }
0 commit comments