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

Commit54545e4

Browse files
authored
Merge pull request#152 from ShMcK/fix/alignment
Fix/alignment
2 parents828ed43 +e2bb75d commit54545e4

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

‎web-app/src/containers/Overview/OverviewPage.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const styles = {
2727
cursor:'pointer',
2828
},
2929
content:{
30-
paddingBottom:'3rem',
30+
paddingBottom:'5rem',
3131
},
3232
header:{
3333
color:'white',
@@ -40,6 +40,11 @@ const styles = {
4040
description:{
4141
fontSize:'1rem',
4242
},
43+
meta:{
44+
display:'flex'as'flex',
45+
flexDirection:'row'as'row',
46+
flexWrap:'wrap'as'wrap',
47+
},
4348
levelList:{
4449
padding:'0rem 1rem',
4550
},
@@ -88,10 +93,10 @@ const Summary = (props: Props) => (
8893
</div>
8994
<h1css={styles.title}>{props.title}</h1>
9095
<h3>{props.description}</h3>
91-
<h4>
92-
<spancss={{marginRight:'2rem'}}>Created by{props.createdBy.name}</span>
93-
<span>Last updated{moment(props.updatedAt).format('M/YYYY')}</span>
94-
</h4>
96+
<h5css={styles.meta}>
97+
<divcss={{marginRight:'2rem'}}>Created by{props.createdBy.name}</div>
98+
<div>Last updated{moment(props.updatedAt).format('M/YYYY')}</div>
99+
</h5>
95100
</div>
96101
<div>
97102
<divcss={styles.levelList}>
@@ -110,8 +115,6 @@ const Summary = (props: Props) => (
110115
</div>
111116
</div>
112117

113-
<divcss={{height:'3rem '}}/>
114-
115118
<divcss={styles.footer}>
116119
{/* TODO Add back button */}
117120
<Buttontype="primary"onClick={props.onNext}>

‎web-app/src/containers/Start/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const styles = {
2929
},
3030
subtitle:{
3131
fontSize:'1.3rem',
32+
textAlign:'center'as'center',
3233
},
3334
options:{
3435
flex:1,
@@ -54,11 +55,10 @@ export const StartPage = (props: Props) => (
5455
<BetaBadge>
5556
<spancss={styles.title}>CodeRoad</span>
5657
</BetaBadge>
57-
<h3css={styles.subtitle}>PlayInteractive CodingTutorials in VSCode</h3>
58-
<p>Learnby codingin a real environment.</p>
58+
<h3css={styles.subtitle}>Play Tutorials in VSCode</h3>
59+
<p>Learn in a real environment.</p>
5960
<p>Instant feedback on save.</p>
60-
<p>Progress saves to Git.</p>
61-
<p>Build your portfolio as you learn.</p>
61+
<p>Build your portfolio and Git timeline.</p>
6262
</div>
6363

6464
<divcss={styles.options}>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp