Fix top menu dropdown nested lists
This commit is contained in:
parent
c55c94c844
commit
9e2649b8b7
|
@ -1,10 +1,8 @@
|
|||
<div class="sub-menu" [ngClass]="{ 'sub-menu-fixed': !isBroadcastMessageDisplayed, 'no-scroll': isModalOpened }">
|
||||
<ul *ngFor="let menuEntry of menuEntries; index as id">
|
||||
|
||||
<ul class="sub-menu" [ngClass]="{ 'sub-menu-fixed': !isBroadcastMessageDisplayed, 'no-scroll': isModalOpened }">
|
||||
<ng-container *ngFor="let menuEntry of menuEntries; index as id">
|
||||
@if (isDisplayed(menuEntry)) {
|
||||
|
||||
@if (menuEntry.routerLink) {
|
||||
<li *ngIf="menuEntry.routerLink && isDisplayed(menuEntry)">
|
||||
<li>
|
||||
<a
|
||||
class="sub-menu-entry" [routerLink]="menuEntry.routerLink" routerLinkActive="active"
|
||||
#routerLink (click)="onActiveLinkScrollToTop(routerLink)" ariaCurrentWhenActive="page"
|
||||
|
@ -40,8 +38,8 @@
|
|||
</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
</ng-container>
|
||||
</ul>
|
||||
|
||||
<ng-template #modal let-close="close" let-dismiss="dismiss">
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -14,7 +14,7 @@ $ng-select-bg: pvar(--mainBackgroundColor);
|
|||
$ng-select-selected: color.adjust($main-color, $lightness: 40%);
|
||||
// $ng-select-selected-text: $ng-select-primary-text !default;
|
||||
|
||||
$ng-select-marked: pvar(--mainColorLightest);
|
||||
$ng-select-marked: pvar(--mainColorVeryLight);
|
||||
// $ng-select-marked-text: $ng-select-primary-text !default;
|
||||
|
||||
$ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
|
||||
|
|
Loading…
Reference in New Issue