Skip to content

Commit f49cca8

Browse files
msivasubramaniaandgolovin
authored andcommitted
changed button name as back
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 490dec2 commit f49cca8

File tree

2 files changed

+7
-23
lines changed

2 files changed

+7
-23
lines changed

src/webview/cluster/app/cluster.style.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,10 @@ export default (theme: Theme) =>
1515
fontSize: '1.25em'
1616
},
1717
iconContainer: {
18-
display: 'flex',
19-
justifyContent: 'center',
20-
alignItems: 'center',
21-
textAlign: 'center',
2218
height: 60,
2319
marginBottom: '3em',
2420
marginTop: '2em'
2521
},
26-
backButton: {
27-
marginBottom: '3em',
28-
marginTop: '2em',
29-
width: '1.2em',
30-
color: 'var(--vscode-button-foreground)',
31-
backgroundColor: '#EE0000',
32-
'&:hover': {
33-
backgroundColor: '#BE0000',
34-
cursor: 'pointer'
35-
},
36-
textTransform: 'none'
37-
},
3822
textWhite: {
3923
marginBottom: '20px!important',
4024
textAlign: 'left'

src/webview/cluster/app/cluster.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import AddClusterView from './clusterView';
2121
import AddSandboxView from './sandboxView';
2222
import clusterStyle from './cluster.style';
2323
import './images/logo.png';
24-
import { ArrowBack } from '@material-ui/icons';
2524

2625
const useStyles = makeStyles(clusterStyle);
2726

@@ -113,7 +112,7 @@ export default function Header() {
113112
</Typography>
114113
</div>
115114
<CardContent style={{ height: 240 }}>
116-
<Typography className={index === 2 ? classes.cardImageTableContainer : classes.cardImageContainer}>
115+
<Typography className={index === 2 ? classes.cardImageTableContainer : classes.cardImageContainer}>
117116
{list.imageUrl.map((url: string, index: string | number) => (
118117
<img src={url} key={index} className={classes.image} style={{ marginLeft: '.625rem', marginRight: '.625rem', position: 'relative' }}></img>
119118
))}
@@ -153,12 +152,13 @@ export default function Header() {
153152

154153
return (
155154
<div className={classes.App}>
156-
<div style={{ display: 'grid',gridTemplateColumns: 'repeat(3,1fr)',margin:'0 auto' }}>
155+
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(3,1fr)', margin: '0 auto' }}>
157156
<div>
158-
{ showWizard?.length > 0 &&
159-
(<Tooltip title='Back' placement='top'>
160-
<ArrowBack className={classes.backButton} onClick={() => moveBack()}/>
161-
</Tooltip>)}
157+
{showWizard?.length > 0 &&
158+
<a onClick={() => moveBack()} className={classes.cardButton} style={{ textDecoration: 'none', cursor: 'pointer'}}>
159+
&#60; Back
160+
</a>
161+
}
162162
</div>
163163
<div className={classes.iconContainer}>
164164
<img className={classes.image} src='assets/logo.png' alt='redhat-openshift'></img>

0 commit comments

Comments
 (0)