fix cdk scrollable sidenav (#3204)

This commit is contained in:
Eugenio Romano
2018-04-16 22:42:22 +01:00
committed by GitHub
parent 2aafecd752
commit c8cbc8d645
4 changed files with 14 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="false" [expandedSidenav]="false">
<adf-sidenav-layout-header>

View File

@@ -19,8 +19,9 @@
}
.adf-app-layout-toolbar {
position: relative;
overflow: visible !important;
z-index: 200000;
position: relative;
overflow: visible !important;
}
.adf-app-layout {

View File

@@ -7,7 +7,9 @@
<ng-content sidenav select="[app-layout-navigation]"></ng-content>
</mat-sidenav>
<mat-sidenav-content [@contentAnimation]="contentAnimationState">
<ng-content select="[app-layout-content]"></ng-content>
</mat-sidenav-content>
<div>
<div [@contentAnimation]="contentAnimationState" style="margin-left: 0 !important">
<ng-content select="[app-layout-content]"></ng-content>
</div>
</div>
</mat-sidenav-container>

View File

@@ -30,6 +30,11 @@ ng-content {
overflow: hidden;
}
:host ::ng-deep mat-sidenav-content{
margin-left:0px !important;
}
.mat-sidenav-content,
.mat-drawer-transition .mat-drawer-content {
transform: unset !important;