Skip to content

Commit ec6b88c

Browse files
Fix: loader position
1 parent aa6871b commit ec6b88c

File tree

3 files changed

+10
-275
lines changed

3 files changed

+10
-275
lines changed

app/sources/containers/HomePage/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,17 @@ export default class Audio extends Component {
171171
) })
172172
const playButton =
173173
<IconButton
174-
iconStyle={ styles.mediumIcon }
175-
style={ styles.medium }
176-
onClick={ this.handlePlay }
174+
iconStyle={ styles.mediumIcon }
175+
style={ styles.medium }
176+
onClick={ this.handlePlay }
177177
>
178178
<Play />
179179
</IconButton>
180180

181181
return (
182182
<div>
183183
{ this.props.isFetching === true ?
184-
<div>
184+
<div className='main' >
185185
<CircularProgress size={ 80 } thickness={ 5 } />
186186
</div> :
187187
<div className='main rollIn animated'>

app/styles/experimental/layout.scss

-270
This file was deleted.

app/styles/index.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
}
77

88
.box-selectors {
9-
109
height: 550px;
1110
width: 550px;
1211
}
@@ -38,3 +37,9 @@
3837
.check-button {
3938
margin-top: 20px;
4039
}
40+
41+
.loader {
42+
margin-top: 550px;
43+
display: flex;
44+
justify-content: center;
45+
}

0 commit comments

Comments
 (0)