diff --git a/components/tour/style/index.ts b/components/tour/style/index.ts index 6177ff12c8..31aa81ea95 100644 --- a/components/tour/style/index.ts +++ b/components/tour/style/index.ts @@ -139,7 +139,9 @@ const genBaseStyle: GenerateStyle = (token) => { display: 'inline-block', borderRadius: '50%', background: colorFill, - marginInlineEnd: indicatorHeight, + '&:not(:last-child)': { + marginInlineEnd: indicatorHeight, + }, '&-active': { background: colorPrimary, },