Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Commit 6e64da7

Browse files
committed
Added number of products
1 parent df0db8b commit 6e64da7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/app/dashboard/dashboard.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<md-icon md-list-avatar><img class="img-avatar" [src]=item.url> </md-icon>
1717
<h4 md-line>
1818
<span class="text-wrap">{{item.name}}</span>
19-
<span class="text-wrap">x{{item.count}}</span>
19+
<span class="x-number">x{{item.count}}</span>
2020
</h4>
2121
</a>
2222
<md-divider *ngIf="!last"></md-divider>

src/app/dashboard/dashboard.component.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@
1818
padding: 1000px;
1919
}
2020

21-
.img-avatar{
21+
.img-avatar {
2222
border-radius: 100%;
2323
width: 40px;
2424
height: 40px;
2525
margin-bottom: 5px;
2626
margin-top: 5px;
27-
}
27+
}
28+
29+
.x-number {
30+
31+
color: #EF6C00;
32+
}

0 commit comments

Comments
 (0)