File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
web-app/src/containers/Tutorial Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ import ProgressPie from './ProgressPie'
77const styles = {
88 content : {
99 display : 'flex' as 'flex' ,
10- flexDirection : 'column' ,
11- justifyContent : 'center' ,
10+ flexDirection : 'column' as 'column' ,
11+ justifyContent : 'center' as 'center' ,
12+ alignItems : 'center' as 'center' ,
1213 } ,
1314 message : {
1415 textAlign : 'center' as 'center' ,
Original file line number Diff line number Diff line change @@ -155,14 +155,16 @@ const TutorialPage = (props: PageProps) => {
155155 { /* Right */ }
156156 < div css = { { flex : 1 , display : 'flex' , justifyContent : 'flex-end' } } >
157157 { level . status === 'COMPLETE' || ! level . steps . length ? (
158- < Continue
159- onContinue = { onContinue }
160- current = { levelIndex + 1 }
161- max = { level . steps . length }
162- title = { tutorial . summary . title }
163- />
158+ < div css = { { marginRight : '0.5rem' } } >
159+ < Continue
160+ onContinue = { onContinue }
161+ current = { levelIndex + 1 }
162+ max = { levels . length }
163+ title = { tutorial . summary . title }
164+ />
165+ </ div >
164166 ) : level . steps . length > 1 ? (
165- < StepProgress current = { stepIndex } max = { level . steps . length } />
167+ < StepProgress current = { stepIndex + 1 } max = { level . steps . length } />
166168 ) : null }
167169 </ div >
168170 </ div >
You can’t perform that action at this time.
0 commit comments