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

Commit178f091

Browse files
committed
cleanup build & ui issues
1 parent6b4cc8c commit178f091

File tree

4 files changed

+29
-11
lines changed

4 files changed

+29
-11
lines changed

‎web-app/package-lock.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎web-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"@types/node":"^13.7.7",
6060
"@types/prismjs":"^1.16.0",
6161
"@types/react":"^16.9.23",
62+
"@types/react-addons-css-transition-group":"^15.0.5",
6263
"@types/react-dom":"^16.9.5",
6364
"@typescript-eslint/eslint-plugin":"^2.21.0",
6465
"@typescript-eslint/parser":"^2.21.0",

‎web-app/src/components/NewUserExperience/NuxTutorial.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ const Panel = Collapse.Panel
77

88
conststyles={
99
container:{
10-
position:'relative',
10+
position:'relative'as'relative',
1111
transition:'all .35s',
1212
},
1313
header:{
14-
display:'flex',
14+
display:'flex'as'flex',
1515
backgroundColor:'#6a67ce',
1616
color:'white',
1717
padding:'0.5rem',
1818
},
1919
title:{
20-
marginLeft:'.6rem',
2120
fontSize:'1rem',
2221
},
2322
toggle:{
24-
display:'flex',
25-
alignItems:'center',
23+
display:'flex'as'flex',
24+
alignItems:'center'as'center',
25+
width:'1.5rem',
2626
},
2727
}
2828

@@ -113,10 +113,8 @@ const NewUserExperienceTutorial = (props: Props) => {
113113
return(
114114
<divcss={{ ...styles.container, ...props.css}}>
115115
<divcss={styles.header}onClick={onToggle}style={{cursor:'pointer'}}>
116-
<divcss={styles.toggle}>
117-
{isOpen ?<Icontype="close"size="xs"/> :<Icontype="help"size="small"/>}
118-
<spancss={styles.title}>Help</span>
119-
</div>
116+
<spancss={styles.toggle}>{isOpen ?<Icontype="close"size="xs"/> :<Icontype="help"size="small"/>}</span>
117+
<spancss={styles.title}>Help</span>
120118
</div>
121119
<ReactCSSTransitionGrouptransitionName="slide"transitionEnterTimeout={500}transitionLeaveTimeout={300}>
122120
{isOpen&&<NewUserExperienceTutorialCollapsible/>}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const styles = {
1515
display:'flex'as'flex',
1616
flexDirection:'column'as'column',
1717
padding:0,
18-
paddingBottom:'4.5rem',
18+
paddingBottom:'5rem',
1919
height:'auto',
2020
width:'100%',
2121
},
@@ -44,7 +44,7 @@ const styles = {
4444
processes:{
4545
padding:'0 1rem',
4646
position:'fixed'as'fixed',
47-
bottom:'2rem',
47+
bottom:'4rem',
4848
left:0,
4949
right:0,
5050
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp