diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.html | 2 | ||||
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.scss | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.html b/client/src/app/videos/video-list/video-list.component.html index 72d5512a6..f80592279 100644 --- a/client/src/app/videos/video-list/video-list.component.html +++ b/client/src/app/videos/video-list/video-list.component.html | |||
@@ -22,7 +22,7 @@ | |||
22 | </my-video-miniature> | 22 | </my-video-miniature> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <pagination *ngIf="pagination.totalItems !== null" | 25 | <pagination *ngIf="pagination.totalItems !== null && pagination.totalItems !== 0" |
26 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" | 26 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" |
27 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" | 27 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" |
28 | ></pagination> | 28 | ></pagination> |
diff --git a/client/src/app/videos/video-list/video-list.component.scss b/client/src/app/videos/video-list/video-list.component.scss index eddcf0776..b48a4f125 100644 --- a/client/src/app/videos/video-list/video-list.component.scss +++ b/client/src/app/videos/video-list/video-list.component.scss | |||
@@ -18,7 +18,6 @@ | |||
18 | } | 18 | } |
19 | 19 | ||
20 | .videos-miniatures { | 20 | .videos-miniatures { |
21 | min-height: 720px; | ||
22 | text-align: center; | 21 | text-align: center; |
23 | padding-top: 0; | 22 | padding-top: 0; |
24 | 23 | ||