mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix cdk scrollable sidenav (#3204)
This commit is contained in:
@@ -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>
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user