Client: adjust viewport height
This commit is contained in:
parent
8ce9e815c8
commit
efbf0ed7f2
|
@ -51,5 +51,6 @@ footer {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin-top: 30px;
|
margin-top: $footer-margin;
|
||||||
|
height: $footer-height;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</my-video-miniature>
|
</my-video-miniature>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pagination *ngIf="pagination.totalItems !== null"
|
<pagination *ngIf="pagination.totalItems !== null && pagination.totalItems !== 0"
|
||||||
[totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false"
|
[totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false"
|
||||||
[(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)"
|
[(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)"
|
||||||
></pagination>
|
></pagination>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.videos-miniatures {
|
.videos-miniatures {
|
||||||
min-height: 720px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,9 @@ $menu-color-block: #686f77;
|
||||||
$header-height: 65px;
|
$header-height: 65px;
|
||||||
$header-border-color: #e9eff6;
|
$header-border-color: #e9eff6;
|
||||||
|
|
||||||
|
$footer-height: 30px;
|
||||||
|
$footer-margin: 30px;
|
||||||
|
|
||||||
$footer-border-color: $header-border-color;
|
$footer-border-color: $header-border-color;
|
||||||
|
|
||||||
$video-miniature-other-infos: #686767;
|
$video-miniature-other-infos: #686767;
|
||||||
|
|
|
@ -40,6 +40,10 @@ input.readonly {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-row {
|
||||||
|
min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
|
||||||
|
}
|
||||||
|
|
||||||
.main-col {
|
.main-col {
|
||||||
|
|
||||||
.content-padding {
|
.content-padding {
|
||||||
|
|
Loading…
Reference in New Issue