Skip to content

Commit 0a7d79e

Browse files
committed
fix: valuable comment
1 parent f5f3a4b commit 0a7d79e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/HoverPopup/HoverPopup.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ export const HoverPopup = ({
9797
onBlur={onPopupBlur}
9898
placement={['top', 'bottom']}
9999
hasArrow
100+
// bigger offset for easier switching to neighbour nodes
101+
// matches the default offset for popup with arrow out of a sense of beauty
100102
offset={[0, 12]}
101103
>
102104
<div onContextMenu={onPopupContextMenu}>{popupContent}</div>

0 commit comments

Comments
 (0)