From 99090e3144fbd07eb39960819cb92b98b3947298 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Tue, 21 Jun 2022 11:52:18 +0800 Subject: [PATCH] fix(console): tooltip vertical offset (#1169) --- packages/console/src/components/Tooltip/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/console/src/components/Tooltip/index.tsx b/packages/console/src/components/Tooltip/index.tsx index e1c8258fa..5a5ff3209 100644 --- a/packages/console/src/components/Tooltip/index.tsx +++ b/packages/console/src/components/Tooltip/index.tsx @@ -20,7 +20,7 @@ const Tooltip = ({ content, anchorRef, className, isKeepOpen = false }: Props) = const { position, positionState, mutate } = usePosition({ verticalAlign: 'top', horizontalAlign: 'center', - offset: { vertical: 12, horizontal: 0 }, + offset: { vertical: 20, horizontal: 0 }, anchorRef, overlayRef: tooltipRef, });