Align loading component in the center. (#535)

* Align loading component in the center.

* Change height of loading component.
This commit is contained in:
Miguel Medeiros authored and GitHub committed 2021-05-22 18:57:15 +04:00
1 parent f8f078a08f
commit fcdf89ef38
2 files changed
+9 -1

No files matched your search

@@ -1,6 +1,6 @@
<div class="container-graph">
<div>
<div *ngIf="loading">
<div *ngIf="loading" class="loading">
<div class="text-center">
<h3 i18n="statistics.loading-graphs">Loading graphs...</h3>
<br>
@@ -41,3 +41,11 @@
}
}
}
.loading{
display: flex;
flex-direction: column;
text-align: center;
height: 80vh;
justify-content: center;
}