Skip to content

Commit

Permalink
fix: tooltip overflow padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldszar committed Nov 10, 2023
1 parent 2f39cf6 commit 406c6c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/browser/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ function Tooltip(props: TooltipProps) {
whileElementsMounted: autoUpdate,
placement: props.placement,
middleware: [
flip(),
flip({
padding: remToPixels(0.5),
}),
shift({
padding: remToPixels(0.5),
}),
Expand Down

0 comments on commit 406c6c4

Please sign in to comment.