]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html
Fix top menu dropdown
[github/Chocobozzz/PeerTube.git] / 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>