File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77} from './IndexTable' ;
88import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer' ;
99import { Typography } from '..' ;
10- import 'polaris-glints/build/esm/styles.css' ;
1110import { Icon } from '../Icon' ;
1211import { PrimaryButton } from '../Button' ;
1312import {
@@ -145,14 +144,34 @@ const Template: Story<IndexTableProps> = args => {
145144 < Icon name = "ri-account-circle-fill" height = { 40 } fill = { Neutral . B40 } />
146145 </ IndexTable . Cell >
147146 < IndexTable . Cell >
148- < Typography variant = "body2" > { name } </ Typography >
149- < Typography variant = "body1" > { location } </ Typography >
147+ < div style = { { display : 'flex' , flexDirection : 'column' } } >
148+ < Typography as = "span" variant = "body2" >
149+ { name }
150+ </ Typography >
151+ < Typography as = "span" variant = "body1" >
152+ { location }
153+ </ Typography >
154+ </ div >
150155 </ IndexTable . Cell >
151- < IndexTable . Cell > { expectedSalary } </ IndexTable . Cell >
152- < IndexTable . Cell > { yearsExperience } </ IndexTable . Cell >
153156 < IndexTable . Cell >
154- < Typography variant = "body1" > { latestWorkExperience } </ Typography >
155- < Typography variant = "caption" > { latestWorkDuration } </ Typography >
157+ < Typography as = "span" variant = "body1" >
158+ { expectedSalary }
159+ </ Typography >
160+ </ IndexTable . Cell >
161+ < IndexTable . Cell >
162+ < Typography as = "span" variant = "body1" >
163+ { yearsExperience }
164+ </ Typography >
165+ </ IndexTable . Cell >
166+ < IndexTable . Cell >
167+ < div style = { { display : 'flex' , flexDirection : 'column' } } >
168+ < Typography as = "span" variant = "body1" >
169+ { latestWorkExperience }
170+ </ Typography >
171+ < Typography as = "span" variant = "caption" >
172+ { latestWorkDuration }
173+ </ Typography >
174+ </ div >
156175 </ IndexTable . Cell >
157176 < IndexTable . Cell >
158177 < StyledButtonGroup >
You can’t perform that action at this time.
0 commit comments