File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
web-app/src/components/StepHelp Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11import * as React from 'react'
22import { Balloon } from '@alifd/next'
33import Button from '../Button'
4- import Icon from '../Icon'
54
65const styles = {
76 iconButton : {
@@ -10,9 +9,12 @@ const styles = {
109 alignItems : 'center' ,
1110 width : 30 ,
1211 height : 30 ,
12+ fontSize : 18 ,
13+ color : 'grey' ,
1314 } ,
1415 balloonTitle : {
1516 marginTop : 0 ,
17+ textAlign : 'center' as 'center' ,
1618 } ,
1719 balloonOptions : {
1820 display : 'flex' ,
@@ -33,15 +35,11 @@ const StepHelp = (props: Props) => {
3335 props . onLoadSolution ( )
3436 }
3537 }
36- const promptLeft = (
37- < Button style = { styles . iconButton } >
38- < Icon type = "prompt" role = "button" />
39- </ Button >
40- )
38+ const promptLeft = < Button style = { styles . iconButton } > i</ Button >
4139 return (
42- < Balloon trigger = { promptLeft } align = "l" alignEdge triggerType = "click" style = { { width : 300 } } >
40+ < Balloon trigger = { promptLeft } align = "l" alignEdge triggerType = "click" style = { { width : 150 } } closable = { false } >
4341 < div >
44- < h4 style = { styles . balloonTitle } > Stuck? Need help? </ h4 >
42+ < h4 style = { styles . balloonTitle } > Stuck?</ h4 >
4543 < div style = { styles . balloonOptions } >
4644 < Button type = "secondary" onClick = { onClickHandler } disabled = { loadedSolution } >
4745 Load Solution
You can’t perform that action at this time.
0 commit comments