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

This commit is contained in:
lijianan 2023-02-08 10:46:38 +08:00 committed by GitHub
parent c325474047
commit 57d0fdde8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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