Browse Source

fix: deleted margin of the last indicator (#40624)

pull/40629/head
lijianan 2 years ago
committed by GitHub
parent
commit
57d0fdde8e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/tour/style/index.ts

4
components/tour/style/index.ts

@ -139,7 +139,9 @@ const genBaseStyle: GenerateStyle<TourToken> = (token) => {
display: 'inline-block',
borderRadius: '50%',
background: colorFill,
marginInlineEnd: indicatorHeight,
'&:not(:last-child)': {
marginInlineEnd: indicatorHeight,
},
'&-active': {
background: colorPrimary,
},

Loading…
Cancel
Save