Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit626aa0d

Browse files
committed
working load checks
1 parentf56ad56 commit626aa0d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

‎web-app/src/containers/Tutorial/LevelPage/Level/Step/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ const styles = {
1515
card:{
1616
display:'grid',
1717
gridTemplateColumns:'25px 1fr',
18-
padding:'1rem 1rem 1rem 0.5rem',
19-
},
20-
content:{
21-
margin:0
22-
}
18+
padding:'1rem 1rem 1rem 0.2rem',
19+
},
20+
content:{
21+
margin:0,
22+
},
2323
}
2424

2525
constStep=(props:Props)=>{
@@ -39,13 +39,13 @@ const Step = (props: Props) => {
3939
<Checkbox
4040
checked={props.status==='COMPLETE'}
4141
indeterminate={false/* TODO: running */}
42-
disabled={props.status!=='COMPLETE'/* TODO: and not running */}
42+
disabled={props.status!=='INCOMPLETE'/* TODO: and not running */}
4343
onChange={()=>{
4444
/* do nothing */
4545
}}
4646
/>
4747
</div>
48-
<divid='content'>
48+
<div>
4949
<Markdown>{props.content||''}</Markdown>
5050
</div>
5151
<div>{showLoadSolution&&<ButtononClick={onClickHandler}>Load Solution</Button>}</div>

‎web-app/src/containers/Tutorial/LevelPage/Level/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const Level = ({ level, onContinue, onLoadSolution }: Props) => {
7979
order={index+1}
8080
status={step.status}
8181
content={step.content}
82+
onLoadSolution={onLoadSolution}
8283
/>
8384
})}
8485
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp