diff --git a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html index 2ffd470f23ddf2e61274840edeece342282f2b8b..ef718fe257fffa4a5b7144ac44b4c2581b39c5b9 100644 --- a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html +++ b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html @@ -1,6 +1,6 @@ <div fxLayout="row" [ngClass]="{'search-container' : !scroll, 'search-container-fixed' : scroll}" - *ngIf="comments.length > 2" + *ngIf="comments.length > 1" (window:scroll)="checkScroll()" fxLayoutAlign="center"> <mat-label *ngIf="deviceType === 'desktop'" 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 8e197bbbb0afce765703ea165c74e6f877550804..113b011460178ca2a7c00832a9358ab0b5b450b6 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -1,6 +1,6 @@ <div fxLayout="row" [ngClass]="{'search-container' : !scroll, 'search-container-fixed' : scroll}" - *ngIf="comments.length > 2" + *ngIf="comments.length > 1" (window:scroll)="checkScroll()" fxLayoutAlign="center"> <button id="filter-close-button"