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

Commit39b13d9

Browse files
authored
Merge pull requestcoderoad#328 from coderoad/fix/icons
Fix/icons
2 parents9b26bba +1fa2004 commit39b13d9

File tree

4 files changed

+7
-48
lines changed

4 files changed

+7
-48
lines changed

‎web-app/src/components/Checkbox/index.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎web-app/src/components/Markdown/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
background-color:rgba(27,31,35,0.05);
77
color: black;
88
border-radius:0.3rem;
9-
padding:0rem0.15rem;
9+
padding:0.15rem0.3rem;
1010
font-size:80%;
1111
white-space: nowrap;
1212
}

‎web-app/src/containers/Tutorial/components/Step.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import*asReactfrom'react'
22
import*asTfrom'typings'
33
import{css,jsx}from'@emotion/core'
4-
importCheckboxfrom'../../../components/Checkbox'
4+
importIconfrom'../../../components/Icon'
55
importMarkdownfrom'../../../components/Markdown'
66

77
interfaceProps{
@@ -20,8 +20,8 @@ const styles = {
2020
content:{
2121
margin:0,
2222
},
23-
checkboxContainer:{
24-
paddingTop:2,
23+
statusContainer:{
24+
paddingTop:0,
2525
width:'1rem',
2626
},
2727
options:{
@@ -41,8 +41,9 @@ const Step = (props: Props) => {
4141
return(
4242
<div>
4343
<divcss={styles.card}>
44-
<divcss={styles.checkboxContainer}>
45-
<Checkboxstatus={props.status}/>
44+
<divcss={styles.statusContainer}>
45+
{props.status==='ACTIVE'&&<Icontype="success-filling"size="small"style={{color:'lightgrey'}}/>}
46+
{props.status==='COMPLETE'&&<Icontype="success-filling"size="small"style={{color:'#37B809'}}/>}
4647
</div>
4748
<div>
4849
<Markdown>{props.content||''}</Markdown>

‎web-app/stories/Checkbox.stories.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp