This repository was archived by the owner on Jun 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import LocaleFormattedMessage from 'components/LocaleFormattedMessage' ;
4-
5- const styles = require ( './style.scss' ) ;
6-
73const Loader = ( ) => (
8- < div className = { styles . loader } >
9- < LocaleFormattedMessage id = "app.loading" defaultMessage = "Loading... " />
4+ < div className = "text-center" >
5+ < i className = "fa fa-circle-o-notch fa-spin fa-3x fa-fw text-center text-primary " />
106 </ div >
117) ;
128
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ class Surah extends Component {
379379 const { surah, options, actions } = this . props ; // eslint-disable-line no-shadow
380380 debug ( 'component:Surah' , 'Render' ) ;
381381
382- if ( ! this . hasAyahs ( ) ) return < div style = { { margin : '50px auto' } } > < Loader /> </ div > ;
382+ if ( ! this . hasAyahs ( ) ) return < div className = { style . container } style = { { margin : '50px auto' } } > < Loader /> </ div > ;
383383
384384 return (
385385 < div className = "surah-body" >
@@ -428,7 +428,7 @@ class Surah extends Component {
428428 >
429429 { this . renderSidebar ( ) }
430430 </ Sidebar >
431- < div className = { `container-fluid ${ style [ 'surah- container' ] } ` } >
431+ < div className = { `container-fluid ${ style . container } ` } >
432432 < div className = "row" >
433433 < SurahInfo
434434 surah = { surah }
Original file line number Diff line number Diff line change 2727 border-right : 1px solid rgba (173 , 170 , 156 , 0.5 );
2828}
2929
30- .surah- container {
30+ .container {
3131 padding-top : 70px ;
3232 min-height : 80vh ;
3333
You can’t perform that action at this time.
0 commit comments