parent
1abc33a9e7
commit
6cf5d79e2e
|
@ -834,7 +834,12 @@ const genTabsStyle: GenerateStyle<TabsToken> = (token: TabsToken): CSSObject =>
|
||||||
// =========================== TabPanes ===========================
|
// =========================== TabPanes ===========================
|
||||||
[`${componentCls}-content`]: {
|
[`${componentCls}-content`]: {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
display: 'flex',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
|
||||||
|
['&-animated']: {
|
||||||
|
transition: 'margin 0.3s',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
[`${componentCls}-content-holder`]: {
|
[`${componentCls}-content-holder`]: {
|
||||||
|
@ -845,9 +850,8 @@ const genTabsStyle: GenerateStyle<TabsToken> = (token: TabsToken): CSSObject =>
|
||||||
|
|
||||||
[`${componentCls}-tabpane`]: {
|
[`${componentCls}-tabpane`]: {
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
'&-hidden': {
|
flex: 'none',
|
||||||
display: 'none',
|
width: '100%',
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue