diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-31 13:39:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-07-31 13:39:42 +0200 |
commit | 805d6a354bd51fccd434c0c1b1df69c81bb90dd4 (patch) | |
tree | 5a516185ea6913b9f7fbd98b2f6bcea764a416f1 /client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html | |
parent | e29dc2832e68623143e5622229a9034b0df52cbf (diff) | |
download | PeerTube-805d6a354bd51fccd434c0c1b1df69c81bb90dd4.tar.gz PeerTube-805d6a354bd51fccd434c0c1b1df69c81bb90dd4.tar.zst PeerTube-805d6a354bd51fccd434c0c1b1df69c81bb90dd4.zip |
Fix top menu dropdown
Diffstat (limited to 'client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html')
-rw-r--r-- | client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html index 9a26614c9..02faa9bd5 100644 --- a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html +++ b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html | |||
@@ -6,6 +6,10 @@ | |||
6 | <div *ngIf="!menuEntry.routerLink && isDisplayed(menuEntry)" ngbDropdown class="parent-entry" | 6 | <div *ngIf="!menuEntry.routerLink && isDisplayed(menuEntry)" ngbDropdown class="parent-entry" |
7 | #dropdown="ngbDropdown" autoClose="true"> | 7 | #dropdown="ngbDropdown" autoClose="true"> |
8 | <span | 8 | <span |
9 | *ngIf="isInSmallView" | ||
10 | tabindex=0 | ||
11 | [ngClass]="{ active: !!suffixLabels[menuEntry.label] }" | ||
12 | (click)="openModal(id)" (keydown.enter)="openModal(id)" | ||
9 | role="button" class="title-page title-page-settings"> | 13 | role="button" class="title-page title-page-settings"> |
10 | <ng-container i18n>{{ menuEntry.label }}</ng-container> | 14 | <ng-container i18n>{{ menuEntry.label }}</ng-container> |
11 | </span> | 15 | </span> |