File tree Expand file tree Collapse file tree
expandable-navbar-section Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < li class ="ds-menu-item-wrapper text-md-center " role =" presentation "
1+ < div class ="ds-menu-item-wrapper text-md-center "
22 [id] ="'expandable-navbar-section-' + section.id "
33 (mouseenter) ="onMouseEnter($event, isActive) "
44 (mouseleave) ="onMouseLeave($event, isActive) "
2424 </ span >
2525 < i class ="fas fa-caret-down fa-xs toggle-menu-icon " aria-hidden ="true "> </ i >
2626 </ a >
27- < ul @slide *ngIf ="isActive " (click) ="deactivateSection($event) "
27+ < div @slide *ngIf ="isActive " (click) ="deactivateSection($event) "
2828 [id] ="expandableNavbarSectionId(section.id) "
2929 role ="menu "
3030 class ="dropdown-menu show nav-dropdown-menu m-0 shadow-none border-top-0 px-3 px-md-0 pt-0 pt-md-1 ">
31- < li *ngFor ="let subSection of (subSections$ | async) " class ="text-nowrap " role ="presentation ">
31+ < div *ngFor ="let subSection of (subSections$ | async) " class ="text-nowrap " role ="presentation ">
3232 < ng-container
3333 *ngComponentOutlet ="(sectionMap$ | async).get(subSection.id).component; injector: (sectionMap$ | async).get(subSection.id).injector; "> </ ng-container >
34- </ li >
35- </ ul >
36- </ li >
34+ </ div >
35+ </ div >
36+ </ div >
Original file line number Diff line number Diff line change 11:host {
2- li .ds-menu-item-wrapper {
2+ .ds-menu-item-wrapper {
33 position : relative ; // align dropdown menu with respect to this element
44 }
55
Original file line number Diff line number Diff line change 1- < li role ="presentation "
2- class ="ds-menu-item-wrapper text-md-center "
3- [id] ="'navbar-section-' + section.id ">
1+ < div class ="ds-menu-item-wrapper text-md-center "
2+ [id] ="'navbar-section-' + section.id ">
43 < ng-container *ngComponentOutlet ="(sectionMap$ | async).get(section.id).component; injector: (sectionMap$ | async).get(section.id).injector; "> </ ng-container >
5- </ li >
4+ </ div >
Original file line number Diff line number Diff line change 99 < ng-container *ngIf ="(isMobile$ | async) && (isAuthenticated$ | async) ">
1010 < ds-themed-user-menu [inExpandableNavbar] ="true "> </ ds-themed-user-menu >
1111 </ ng-container >
12- < ul class ="navbar-nav align-items-md-center mr-auto shadow-none gapx-3 ">
12+ < div class ="navbar-nav align-items-md-center mr-auto shadow-none gapx-3 ">
1313 < ng-container *ngFor ="let section of (sections | async) ">
1414 < ng-container
1515 *ngComponentOutlet ="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector; "> </ ng-container >
1616 </ ng-container >
17- </ ul >
17+ </ div >
1818 </ div >
1919 </ div >
2020 </ div >
Original file line number Diff line number Diff line change 11< ng-container *ngIf ="(isMobile$ | async) && (isAuthenticated$ | async) ">
22 < ds-user-menu [inExpandableNavbar] ="true "> </ ds-user-menu >
33</ ng-container >
4- < ul class ="navbar-nav h-100 align-items-md-stretch gapx-3 " role ="menubar ">
4+ < div class ="navbar-nav h-100 align-items-md-stretch gapx-3 " role ="menubar ">
55 < ng-container *ngFor ="let section of (sections | async) ">
66 < ng-container
77 *ngComponentOutlet ="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector; "> </ ng-container >
88 </ ng-container >
9- </ ul >
9+ </ div >
You can’t perform that action at this time.
0 commit comments