File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -405,15 +405,14 @@ const triggerClass = css({
405405
406406const RECOMMENDED_CSS__TABS__CONTENT = {
407407 flexGrow : 1 ,
408- padding : '1em' ,
409- fontWeight : '300' ,
410- fontSize : '0.85em' ,
411- lineHeight : '1.65' ,
412408} ;
413409
414410const contentClass = css ( {
415411 ...RECOMMENDED_CSS__TABS__CONTENT ,
416-
412+ padding : '1em' ,
413+ fontWeight : '300' ,
414+ fontSize : '0.85em' ,
415+ lineHeight : '1.65' ,
417416 '&[data-orientation="horizontal"]' : { borderTop : 'none' } ,
418417 '&[data-orientation="vertical"]' : { borderLeft : 'none' } ,
419418} ) ;
@@ -423,9 +422,7 @@ const show = keyframes({
423422 to : { opacity : 1 , transform : 'translateY(0px)' } ,
424423} ) ;
425424
426- const animatedContentClass = css ( {
427- ...RECOMMENDED_CSS__TABS__CONTENT ,
428-
425+ const animatedContentClass = css ( contentClass , {
429426 '&[data-state="active"]' : {
430427 animation : `${ show } 400ms ease` ,
431428 } ,
You can’t perform that action at this time.
0 commit comments