Fix top menu dropdown

This commit is contained in:
Chocobozzz 2020-07-31 13:39:42 +02:00
parent e29dc2832e
commit 805d6a354b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@
<div *ngIf="!menuEntry.routerLink && isDisplayed(menuEntry)" ngbDropdown class="parent-entry" <div *ngIf="!menuEntry.routerLink && isDisplayed(menuEntry)" ngbDropdown class="parent-entry"
#dropdown="ngbDropdown" autoClose="true"> #dropdown="ngbDropdown" autoClose="true">
<span <span
*ngIf="isInSmallView"
tabindex=0
[ngClass]="{ active: !!suffixLabels[menuEntry.label] }"
(click)="openModal(id)" (keydown.enter)="openModal(id)"
role="button" class="title-page title-page-settings"> role="button" class="title-page title-page-settings">
<ng-container i18n>{{ menuEntry.label }}</ng-container> <ng-container i18n>{{ menuEntry.label }}</ng-container>
</span> </span>