Skip to content

Commit

Permalink
Underlign selected category
Browse files Browse the repository at this point in the history
  • Loading branch information
Popovkov57 committed Sep 27, 2022
1 parent 42b4cde commit ab9a0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/store/store.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<button class="btn btn-block btn-outline-primary" (click)="changeCategory()">
Home
</button>
<button *ngFor="let category of categories" class="btn btn-outline-primary btn-block" (click)="changeCategory(category)">
<button *ngFor="let category of categories" [class.active]="category == selectedCategory" class="btn btn-outline-primary btn-block" (click)="changeCategory(category)">
{{category}}
</button>
</div>
Expand Down

0 comments on commit ab9a0c8

Please sign in to comment.