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

Commit511ac12

Browse files
committed
menu button
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent96dcfe1 commit511ac12

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import*asReactfrom'react'
22
import*asTfrom'typings'
33
import*asTTfrom'typings/tutorial'
4-
import{Button,Drawer}from'@alifd/next'
4+
import{Drawer}from'@alifd/next'
55
import*asselectorsfrom'../../services/selectors'
66
importLevelfrom'./components/Level'
77
importIconfrom'../../components/Icon'
@@ -10,12 +10,15 @@ const styles = {
1010
header:{
1111
display:'flex'as'flex',
1212
alignItems:'center',
13-
justifyContent:'space-between',
13+
justifyContent:'flex-start',
1414
height:'2rem',
1515
backgroundColor:'#EBEBEB',
1616
fontSize:'1rem',
1717
lineHeight:'1rem',
18-
padding:'10px 1rem',
18+
padding:'10px 0.4rem',
19+
},
20+
title:{
21+
marginLeft:'0.5rem',
1922
},
2023
learn:{
2124
textDecoration:'none',
@@ -65,10 +68,10 @@ const TutorialPage = (props: PageProps) => {
6568
return(
6669
<div>
6770
<divcss={styles.header}>
68-
<ButtononClick={()=>setMenuVisible(!menuVisible)}>
69-
<Icontype="menu"/>
70-
</Button>
71-
{tutorial.summary.title}
71+
<aonClick={()=>setMenuVisible(!menuVisible)}>
72+
<Icontype="toggle-left"size="small"/>
73+
</a>
74+
<spancss={styles.title}>{tutorial.summary.title}</span>
7275
</div>
7376
<Level
7477
tutorial={tutorial}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp