Center expandable navbar section in header

This commit is contained in:
Alexandre Vryghem
2022-07-26 00:34:19 +02:00
parent 0ef2be6693
commit c7a88f99d6

View File

@@ -6,7 +6,7 @@
</a> </a>
<div id="collapsingNav" class="w-100 h-100"> <div id="collapsingNav" class="w-100 h-100">
<ul class="navbar-nav navbar-navigation me-auto mb-2 mb-lg-0 h-100"> <ul class="navbar-nav navbar-navigation me-auto mb-2 mb-lg-0 h-100 d-flex align-items-center">
<ng-container *ngFor="let section of (sections | async)"> <ng-container *ngFor="let section of (sections | async)">
<ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container> <ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
</ng-container> </ng-container>