adjusted margin

This commit is contained in:
Peter Skrlj
2019-02-13 13:53:54 +01:00
parent 818b1213d1
commit 80aa994acf
2 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,14 @@
<div *ngFor="let card of feed$ | async">
<div *ngFor="let card of (feed$ | async)">
<app-book-card *ngIf="card.type === 'products'" [card]="card"></app-book-card>
<app-event-card *ngIf="card.type === 'events'" [card]="card"></app-event-card>
<app-news-card *ngIf="card.type === 'info'" [card]="card"></app-news-card>
<app-recommandation-card *ngIf="card.type === 'REC'" [card]="card"></app-recommandation-card>
<app-recommandation-card
*ngIf="card.type === 'REC'"
[card]="card"
></app-recommandation-card>
</div>
<app-loading [loading]="loading" text="Inhalte werden geladen"></app-loading>
<app-loading
*ngIf="loading"
loading="true"
text="Inhalte werden geladen"
></app-loading>

View File

@@ -2,9 +2,7 @@
display: flex;
position: relative;
width: 100%;
height: 100%;
flex-direction: column;
min-height: 40px;
align-items: center;
justify-content: center;
}