refactor(traffic card): remove unused styling (#2168)

This commit is contained in:
Sergey Andrievskiy 2019-07-09 18:21:38 +03:00 committed by GitHub
parent 243390c10f
commit 4febf1902c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<nb-list>
<nb-list-item class="item" *ngFor="let item of frontCardData; trackBy: trackByDate">
<span>{{ item.date }}</span>
<span clsas="value">{{ item.value }}</span>
<span>{{ item.value }}</span>
<span class="delta" [class.up]="item.delta.up" [class.down]="!item.delta.up">
<nb-icon [icon]="item.delta.up ? 'arrow-up' : 'arrow-down'" pack="eva"></nb-icon>
{{ item.delta.value }}%

View file

@ -19,11 +19,6 @@
}
}
.value,
.delta {
text-align: center;
}
.delta {
display: flex;
align-items: center;