diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-23 22:13:58 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:23:19 +0200 |
commit | efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5 (patch) | |
tree | 9c3749da7bb471ca4ac4e4b256e1863f200e3eb7 /client/src/app | |
parent | 8ce9e815c8212647d702b94ca8633943d1aa663a (diff) | |
download | PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.tar.gz PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.tar.zst PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.zip |
Client: adjust viewport height
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/app.component.scss | 3 | ||||
-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 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index f11552ef6..627187bd0 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss | |||
@@ -51,5 +51,6 @@ footer { | |||
51 | padding: 10px 0; | 51 | padding: 10px 0; |
52 | text-align: center; | 52 | text-align: center; |
53 | font-size: 11px; | 53 | font-size: 11px; |
54 | margin-top: 30px; | 54 | margin-top: $footer-margin; |
55 | height: $footer-height; | ||
55 | } | 56 | } |
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 | ||