used text-center class instead of inline style to center the loader

This commit is contained in:
Richard 2020-01-19 11:46:35 +01:00
parent b0b5331a4b
commit ee7a4463d3

View file

@ -414,7 +414,7 @@ export class Main extends Component<any, MainState> {
return ( return (
<div class="main-content-wrapper"> <div class="main-content-wrapper">
{this.state.loading ? ( {this.state.loading ? (
<p style="text-align: center;"> <p class="text-center">
<svg class="icon icon-spinner spin"> <svg class="icon icon-spinner spin">
<use xlinkHref="#icon-spinner"></use> <use xlinkHref="#icon-spinner"></use>
</svg> </svg>