pull/58/head
HardiReady 2019-02-27 23:03:09 +01:00
parent 0fa09b56dc
commit a0e86c14c9
2 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@
</mat-sidenav> </mat-sidenav>
</mat-sidenav-container> </mat-sidenav-container>
<div style="overflow-x: auto;position: relative;min-height: calc(100vh - 50px);" (click)="sidenav.close()"> <div class="app-content-container" (click)="sidenav.close()">
<router-outlet></router-outlet> <router-outlet></router-outlet>
<div id="left"> <div id="left">
<router-outlet name="left"></router-outlet> <router-outlet name="left"></router-outlet>

View File

@ -1,7 +1,7 @@
@import "style/load-indicator.scss"; @import "style/load-indicator.scss";
mat-sidenav-container, mat-sidenav-content, mat-sidenav { mat-sidenav-container, mat-sidenav-content, mat-sidenav {
height: calc(100vh - 65px); height: calc(100vh - 50px);
min-height: fit-content; min-height: fit-content;
display: inline; display: inline;
} }
@ -12,6 +12,12 @@ mat-sidenav {
width: 250px; width: 250px;
} }
.app-content-container {
overflow-x: auto;
position: relative;
min-height: calc(100vh - 50px)
}
#scrollTopBtn { #scrollTopBtn {
position: fixed; position: fixed;
bottom: 20px; bottom: 20px;