mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-24 15:10:19 +00:00
Updates README.md
Centres spinners
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div *ngShow="settings === null">
|
||||
<div class="loading-spinner" *ngIf="settings === null">
|
||||
<md-progress-spinner mode="indeterminate"></md-progress-spinner>
|
||||
</div>
|
||||
<div *ngIf="settings !== null">
|
||||
|
||||
@@ -54,8 +54,8 @@ export class SettingsComponent implements OnInit {
|
||||
if (this.failCount <= 10) {
|
||||
setTimeout(() => {
|
||||
if (this.settings === null) {
|
||||
console.log(this.failCount);
|
||||
console.log('Settings hasnt been set. Trying again');
|
||||
//console.log(this.failCount);
|
||||
//console.log('Settings hasnt been set. Trying again');
|
||||
this.failCount++;
|
||||
this.getSettings();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div *ngIf="tickerCards === null">
|
||||
<div class="loading-spinner" *ngIf="tickerCards === null || tickerCards.length === 0">
|
||||
<md-progress-spinner mode="indeterminate"></md-progress-spinner>
|
||||
</div>
|
||||
<md-grid-list cols="4" rowHeight="4:3" >
|
||||
|
||||
@@ -20,6 +20,12 @@ body {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
margin-left:50%;
|
||||
margin-right:50%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
@import '~@angular/material/prebuilt-themes/indigo-pink.css';
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user