mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
[DURACOM-195] replace ul/li with div in navbar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<li class="ds-menu-item-wrapper text-md-center" role="presentation"
|
||||
<div class="ds-menu-item-wrapper text-md-center"
|
||||
[id]="'expandable-navbar-section-' + section.id"
|
||||
(mouseenter)="onMouseEnter($event, isActive)"
|
||||
(mouseleave)="onMouseLeave($event, isActive)"
|
||||
@@ -24,13 +24,13 @@
|
||||
</span>
|
||||
<i class="fas fa-caret-down fa-xs toggle-menu-icon" aria-hidden="true"></i>
|
||||
</a>
|
||||
<ul @slide *ngIf="isActive" (click)="deactivateSection($event)"
|
||||
<div @slide *ngIf="isActive" (click)="deactivateSection($event)"
|
||||
[id]="expandableNavbarSectionId(section.id)"
|
||||
role="menu"
|
||||
class="dropdown-menu show nav-dropdown-menu m-0 shadow-none border-top-0 px-3 px-md-0 pt-0 pt-md-1">
|
||||
<li *ngFor="let subSection of (subSections$ | async)" class="text-nowrap" role="presentation">
|
||||
<div *ngFor="let subSection of (subSections$ | async)" class="text-nowrap" role="presentation">
|
||||
<ng-container
|
||||
*ngComponentOutlet="(sectionMap$ | async).get(subSection.id).component; injector: (sectionMap$ | async).get(subSection.id).injector;"></ng-container>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user