[ACS-1636] Make SideNav Create New Button steady (#2163)

This commit is contained in:
siva kumar
2021-06-03 14:14:14 +05:30
committed by GitHub
parent 980f2206ca
commit 5736cb9d20
2 changed files with 29 additions and 21 deletions

View File

@@ -4,6 +4,7 @@
<app-create-menu [expanded]="mode === 'expanded'"></app-create-menu>
</div>
<div class="section-sub-actions">
<div *ngFor="let group of groups; trackBy: trackById" class="section" [ngClass]="'section--' + mode">
<ng-container *ngSwitchCase="'expanded'">
<mat-list-item *ngFor="let item of group.items; trackBy: trackById">
@@ -29,5 +30,6 @@
</div>
</ng-container>
</div>
</div>
</ng-container>
</div>

View File

@@ -3,6 +3,7 @@
flex: 1;
flex-direction: column;
height: 100%;
overflow-y: hidden;
}
.sidenav {
@@ -24,6 +25,11 @@
.section.action-menu {
padding: 8px 14px;
position: sticky;
}
.section-sub-actions {
overflow-y: auto;
}
.section {