Improve search category

This commit is contained in:
Peter Maquiran
2021-04-16 14:10:18 +01:00
parent 3752df0029
commit 18a661f2b6
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -81,11 +81,11 @@
<div class="container ">
<div class="d-flex overflow-x-auto">
<!-- SLIDE -->
<div *ngFor="let category of searchCategories; index as i;" class="d-flex py-10" style="width:0px">
<div [ngClass]="{'active-category': category.Active}" class="button" (click)="filterDocList(category.Name)" (click)="activeCategoty(i)" >
<div *ngFor="let category of searchCategories; index as i;" class="d-flex py-10" style="width:0px" [ngClass]="{'active-category': category.Active}" class="button" (click)="filterDocList(category.Name)" (click)="activeCategoty(i)">
<span>{{ category.Name }}</span>
<ion-label class="label">{{ category.Qtd }}</ion-label>
</div>
</div>
</div>
+2 -3
View File
@@ -55,8 +55,7 @@ ion-slide{
margin: 0px 5px;
margin-bottom: 10px;
padding: 5px 20px;
height: 100%;
box-sizing: 100%;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: center;
@@ -82,7 +81,7 @@ ion-slide{
.active-category{
background-color: #42b9fe;
color: white;
p{
span{
color: white;
}
.label{