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:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="false" [expandedSidenav]="false">
|
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="false" [expandedSidenav]="false">
|
||||||
|
|
||||||
<adf-sidenav-layout-header>
|
<adf-sidenav-layout-header>
|
||||||
@@ -52,4 +51,4 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</adf-sidenav-layout-content>
|
</adf-sidenav-layout-content>
|
||||||
|
|
||||||
</adf-sidenav-layout>
|
</adf-sidenav-layout>
|
||||||
|
@@ -19,8 +19,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-app-layout-toolbar {
|
.adf-app-layout-toolbar {
|
||||||
position: relative;
|
z-index: 200000;
|
||||||
overflow: visible !important;
|
position: relative;
|
||||||
|
overflow: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-app-layout {
|
.adf-app-layout {
|
||||||
|
@@ -7,7 +7,9 @@
|
|||||||
<ng-content sidenav select="[app-layout-navigation]"></ng-content>
|
<ng-content sidenav select="[app-layout-navigation]"></ng-content>
|
||||||
</mat-sidenav>
|
</mat-sidenav>
|
||||||
|
|
||||||
<mat-sidenav-content [@contentAnimation]="contentAnimationState">
|
<div>
|
||||||
<ng-content select="[app-layout-content]"></ng-content>
|
<div [@contentAnimation]="contentAnimationState" style="margin-left: 0 !important">
|
||||||
</mat-sidenav-content>
|
<ng-content select="[app-layout-content]"></ng-content>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</mat-sidenav-container>
|
</mat-sidenav-container>
|
||||||
|
@@ -30,6 +30,11 @@ ng-content {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
:host ::ng-deep mat-sidenav-content{
|
||||||
|
margin-left:0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.mat-sidenav-content,
|
.mat-sidenav-content,
|
||||||
.mat-drawer-transition .mat-drawer-content {
|
.mat-drawer-transition .mat-drawer-content {
|
||||||
transform: unset !important;
|
transform: unset !important;
|
||||||
|
Reference in New Issue
Block a user