diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html index 65fb047c746b3c747518fbc8024f118b2dd07440..b188318c4b493d359fe362b919cb4e21ecae5c4b 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -13,8 +13,10 @@ <div class="button-bar" fxLayoutAlign="center center"> <div *ngIf="comments && comments.length > 0"> - <button mat-mini-fab color="primary" class="comment-counter" *ngIf="(!filteredComments) || (comments.length === filteredComments.length)">{{comments.length}}</button> - <button mat-mini-fab color="secondary" class="comment-counter" *ngIf="(filteredComments) && (comments.length > filteredComments.length)">{{filteredComments.length}}</button> + <mat-chip-list> + <mat-chip class="comment-counter" *ngIf="(!filteredComments) || (comments.length === filteredComments.length)">{{comments.length}}</mat-chip> + <mat-chip class="comment-counter" *ngIf="(filteredComments) && (comments.length > filteredComments.length)">{{filteredComments.length}}</mat-chip> + </mat-chip-list> </div> <button mat-icon-button class="searchBarButton" *ngIf="!searchBox.value && comments && comments.length > 0"