Skip to content

Commit c9042e6

Browse files
author
UniverseBible
committed
page2 style fix
1 parent 1386486 commit c9042e6

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

src/pages/PageTwo/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Typography from '@material-ui/core/Typography';
66
import CloudUploadIcon from '@material-ui/icons/CloudUpload';
77
import { makeStyles } from '@material-ui/core/styles';
88
import CssBaseline from '@material-ui/core/CssBaseline';
9+
import css from './index.module.less'
910

1011

1112

@@ -127,12 +128,13 @@ class PageTwo extends React.Component {
127128
return (
128129
<React.Fragment>
129130
<div>
130-
131+
<div className={css.buttonBox}>
131132
<Container maxWidth="sm" component="main" className={useStyles.heroContent}>
132133
<Typography variant="h4" align="center" color="textPrimary" component="p">
133134
Select VFG file to generate visualisation directly.
134135
</Typography>
135136
</Container>
137+
</div>
136138

137139

138140
<Container maxWidth="sm" component="main">
@@ -145,7 +147,7 @@ class PageTwo extends React.Component {
145147
</Container>
146148

147149
<Container maxWidth="sm" component="main" marginTop="50">
148-
<div margin-top="50">
150+
<div className={css.buttonBox}>
149151
<Button variant="contained" color="#224878" onClick={this.handleOnClick} text-align="left">Cancel</Button>
150152
<Button variant="contained" color="primary" startIcon={<CloudUploadIcon />} onClick={()=>{
151153
// eslint-disable-next-line no-restricted-globals
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
.buttonBox {
3+
/*
4+
background: #fff;
5+
*/
6+
display: flex;
7+
justify-content: space-around;
8+
padding: 20px;
9+
}
10+
11+
.textBox {
12+
/*
13+
background: #fff;
14+
*/
15+
display: flex;
16+
justify-content: space-around;
17+
padding: 20px;
18+
}

0 commit comments

Comments
 (0)