Skip to content
Snippets Groups Projects
Commit 4d84d3d5 authored by Tom Käsler's avatar Tom Käsler
Browse files

Add badge as comment counter

parent 3ffa2234
No related merge requests found
......@@ -12,7 +12,9 @@
<span class="fill-remaining-space"></span>
<div class="button-bar" fxLayoutAlign="center center">
<button mat-icon-button class="searchBarButton" *ngIf="!searchBox.value && comments && comments.length > 0"
<button mat-mini-fab color="primary" class="comment-counter" *ngIf="comments && comments.length > 0">{{comments.length}}</button>
<button mat-icon-button class="searchBarButton" *ngIf="!searchBox.value && comments.length > 0"
[matMenuTriggerFor]="filterMenu" matTooltip="{{ 'comment-list.filter-comments' | translate }}">
<mat-icon class="searchBarIcon">filter_list</mat-icon>
</button>
......
......@@ -79,3 +79,7 @@ h4 {
.unread-icon {
color: var(--yellow);
}
.comment-counter {
font-size: 18pt;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment