diff --git a/components/tooltip/style/index.ts b/components/tooltip/style/index.ts index 3c20c8e238..86a554ed49 100644 --- a/components/tooltip/style/index.ts +++ b/components/tooltip/style/index.ts @@ -62,6 +62,7 @@ const genTooltipStyle: GenerateStyle = (token) => { backgroundColor: tooltipBg, borderRadius: tooltipBorderRadius, boxShadow: boxShadowSecondary, + boxSizing: 'border-box', }, // Limit left and right placement radius