File tree Expand file tree Collapse file tree 4 files changed +14
-120
lines changed Expand file tree Collapse file tree 4 files changed +14
-120
lines changed Load Diff This file was deleted. 
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ export { default as Code } from './components/Code'
4646export  {  default  as  CodeEditor  }  from  './components/CodeEditor' 
4747export  {  default  as  Codeline  }  from  './components/Codeline' 
4848export  {  ComboBox  }  from  './components/ComboBox' 
49- export  {  default  as  ContentCard  }  from  './components/ContentCard' 
5049export  {  default  as  Date  }  from  './components/Date' 
5150export  {  default  as  Divider  }  from  './components/Divider' 
5251export  {  default  as  EmptyState  }  from  './components/EmptyState' 
Load Diff This file was deleted. 
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { useState } from 'react'
33
44import  ErrorIcon  from  '../components/icons/ErrorIcon' 
55
6- import  ContentCard  from  '../components/ContentCard' 
76import  Tab  from  '../components/Tab' 
87import  SubTab  from  '../components/SubTab' 
8+ import  Card  from  '../components/Card' 
99
1010export  default  { 
1111  title : 'Tab' , 
@@ -182,18 +182,25 @@ function SubTabTemplate(args: any) {
182182      gap = "large" 
183183    > 
184184      < SubTabs  { ...args }  /> 
185-       < ContentCard > 
185+       < Card   style = { contentCardStyle } > 
186186        < SubTabs  { ...args }  /> 
187-       </ ContentCard > 
188-       < ContentCard   fillLevel = { 2 } > 
187+       </ Card > 
188+       < Card   style = { contentCardStyle } > 
189189        < SubTabs  { ...args }  /> 
190-       </ ContentCard > 
191-       < ContentCard   fillLevel = { 3 } > 
190+       </ Card > 
191+       < Card   style = { contentCardStyle } > 
192192        < SubTabs  { ...args }  /> 
193-       </ ContentCard > 
193+       </ Card > 
194194    </ Flex > 
195195  ) 
196196} 
197+ const  contentCardStyle  =  { 
198+   padding : 32 , 
199+   display : 'flex' , 
200+   flexDirection : 'column' , 
201+   alignItems : 'center' , 
202+   justifyContent : 'center' , 
203+ } 
197204
198205export  const  Subtab  =  SubTabTemplate . bind ( { } ) 
199206
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments