mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
refactor: use css token (#48312)
This commit is contained in:
parent
47e46fabcc
commit
2386fa69e7
@ -690,7 +690,7 @@ const genTabStyle: GenerateStyle<TabsToken, CSSObject> = (token: TabsToken) => {
|
|||||||
},
|
},
|
||||||
'&-btn': {
|
'&-btn': {
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
transition: 'all 0.3s',
|
transition: `all ${token.motionDurationSlow}`,
|
||||||
[`${tabCls}-icon:not(:last-child)`]: {
|
[`${tabCls}-icon:not(:last-child)`]: {
|
||||||
marginInlineEnd: token.marginSM,
|
marginInlineEnd: token.marginSM,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user