Adjust app content min height

- Add min height calculation to keep footer always at the bottom.
-- Without having the position fixed
This commit is contained in:
Clemente Raposo 2021-03-25 09:51:26 +00:00 committed by Dillon-Brown
parent 744304ad2d
commit db151f5e02
3 changed files with 14 additions and 9 deletions

View file

@ -1,8 +1,10 @@
<ng-container *ngIf="(appState$ | async) as appState">
<app-full-page-spinner *ngIf="appState.loading"></app-full-page-spinner>
</ng-container>
<scrm-navbar-ui></scrm-navbar-ui>
<scrm-message-ui></scrm-message-ui>
<div #mainOutlet></div>
<router-outlet></router-outlet>
<div class="app-shell">
<ng-container *ngIf="(appState$ | async) as appState">
<app-full-page-spinner *ngIf="appState.loading"></app-full-page-spinner>
</ng-container>
<scrm-navbar-ui></scrm-navbar-ui>
<scrm-message-ui></scrm-message-ui>
<div #mainOutlet></div>
<router-outlet></router-outlet>
</div>
<scrm-footer-ui></scrm-footer-ui>

View file

@ -0,0 +1,3 @@
.app-shell {
min-height: calc(100vh - 3.1em);
}

View file

@ -29,9 +29,9 @@
@import 'components/widget-bar';
@import 'components/chips';
@import 'components/grid-widget';
@import 'layout/panel';
@import 'layout/app';
@import 'layout/actionbar';
@import 'layout/columnchooser';
@import 'layout/common';