]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix top menu dropdown
authorChocobozzz <me@florianbigard.com>
Fri, 31 Jul 2020 11:39:42 +0000 (13:39 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 31 Jul 2020 11:39:42 +0000 (13:39 +0200)
client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html

index 9a26614c925eae19c222f7f822f596e243f7006a..02faa9bd5f4b4d4f23fcb60b7ba3a58961a5320c 100644 (file)
@@ -6,6 +6,10 @@
     <div *ngIf="!menuEntry.routerLink && isDisplayed(menuEntry)" ngbDropdown class="parent-entry"
       #dropdown="ngbDropdown" autoClose="true">
       <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">
         <ng-container i18n>{{ menuEntry.label }}</ng-container>
       </span>