Small text

This commit is contained in:
Michael Shamoon 2020-12-11 00:07:26 -08:00
parent 4146955f4a
commit 66aa7319ab

View File

@ -2,7 +2,7 @@
<button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>{{title}}</button>
<div class="dropdown-menu quick-filter shadow" ngbDropdownMenu attr.aria-labelledby="dropdown{{title}}">
<div class="list-group list-group-flush">
<input class="list-group-item form-control" type="text" [(ngModel)]="filterText" placeholder="Filter {{title}}">
<input class="list-group-item form-control form-control-sm" type="text" [(ngModel)]="filterText" placeholder="Filter {{title}}">
<ng-container *ngIf="(items | filter: filterText).length > 0">
<button class="list-group-item list-group-item-action d-flex align-items-center" role="menuitem" *ngFor="let item of items | filter: filterText; let i = index" (click)="toggleItem(item)">
<div class="selected-icon mr-1">
@ -12,7 +12,7 @@
</div>
<div class="mr-1">
<app-tag *ngIf="display == 'tag'; else displayName" [tag]="item" [clickable]="true" linkTitle="Filter by tag"></app-tag>
<ng-template #displayName>{{item.name}}</ng-template>
<ng-template #displayName><small>{{item.name}}</small></ng-template>
</div>
<div class="badge bg-primary text-light rounded-pill ml-auto">{{item.document_count}}</div>
</button>