fix(loader): Fix loader position
This commit is contained in:
committed by
mrugesh mohapatra
parent
1b3f350821
commit
a0d5841560
@ -138,7 +138,11 @@ class Featured extends Component {
|
|||||||
featuredList
|
featuredList
|
||||||
} = this.state;
|
} = this.state;
|
||||||
if (pending || !complete) {
|
if (pending || !complete) {
|
||||||
return <Loader />;
|
return (
|
||||||
|
<div className='full-size' style={{ position: 'fixed', left: 0 }}>
|
||||||
|
<Loader />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (complete && errored) {
|
if (complete && errored) {
|
||||||
|
@ -162,7 +162,11 @@ class ShowArticle extends Component {
|
|||||||
currentArticle
|
currentArticle
|
||||||
} = this.state;
|
} = this.state;
|
||||||
if (pending || !complete) {
|
if (pending || !complete) {
|
||||||
return <Loader />;
|
return (
|
||||||
|
<div className='full-size' style={{ position: 'fixed', left: 0 }}>
|
||||||
|
<Loader />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (complete && errored) {
|
if (complete && errored) {
|
||||||
|
Reference in New Issue
Block a user