<div class="small-middle-container" >

    <div *ngIf="loadingFlag" class="row justify-content-md-center top-spacing loading-spinner">
        <mat-spinner [color]="'accent'"></mat-spinner>
    </div>
    <div *ngIf="discoverResults && discoverResults.length > 0" class="row full-height discoverResults col" >
        <div id="searchResults" class="col-xl-2 col-lg-3 col-md-3 col-6 col-sm-4 small-padding" *ngFor="let result of discoverResults" data-test="searchResultsCount" attr.search-count="{{discoverResults.length}}">
            <discover-card [isAdmin]="isAdmin" [result]="result"></discover-card>
        </div>
    </div>
    <div *ngIf="!discoverResults || discoverResults.length === 0">
        <div class="row justify-content-md-center top-spacing loading-spinner">
            <h1 id="noSearchResult"> {{'Discovery.NoSearch' | translate}} <i class="far fa-frown" aria-hidden="true"></i></h1>
        </div>
    </div>
</div>