improve error messages
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.center-content {
|
||||
text-align: center;
|
||||
}
|
||||
.is-error {
|
||||
font-size: 3rem;
|
||||
color: #333;
|
||||
@@ -14,10 +17,9 @@
|
||||
<div *ngIf="loading" class="center">
|
||||
<mat-spinner></mat-spinner>
|
||||
</div>
|
||||
<div *ngIf="error" class="center is-error">
|
||||
<div *ngIf="error" class="center is-error .center-content">
|
||||
{{error}}
|
||||
</div>
|
||||
|
||||
<div *ngIf="!loading && !error">
|
||||
<div class="toolbar">
|
||||
<button mat-button (click)="createNewDashboard()">New</button>
|
||||
|
||||
Reference in New Issue
Block a user