diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-25 10:02:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-25 10:02:02 +0200 |
commit | 98000f10e7058ee9d7c82925c46985b1d2af4b0e (patch) | |
tree | edc6e12a3ef47b6485b2559d20cf007a3035bd9a /client/src/app/shared/menu | |
parent | 71d00bfd7ff72923e5f76d851629786a56256d1e (diff) | |
download | PeerTube-98000f10e7058ee9d7c82925c46985b1d2af4b0e.tar.gz PeerTube-98000f10e7058ee9d7c82925c46985b1d2af4b0e.tar.zst PeerTube-98000f10e7058ee9d7c82925c46985b1d2af4b0e.zip |
Fix dropdown top menu on mobile
Diffstat (limited to 'client/src/app/shared/menu')
-rw-r--r-- | client/src/app/shared/menu/top-menu-dropdown.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/menu/top-menu-dropdown.component.html b/client/src/app/shared/menu/top-menu-dropdown.component.html index 8d58fa1db..54a8f9e80 100644 --- a/client/src/app/shared/menu/top-menu-dropdown.component.html +++ b/client/src/app/shared/menu/top-menu-dropdown.component.html | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <a *ngIf="menuEntry.routerLink" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page">{{ menuEntry.label }}</a> | 4 | <a *ngIf="menuEntry.routerLink" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page">{{ menuEntry.label }}</a> |
5 | 5 | ||
6 | <div *ngIf="!menuEntry.routerLink" ngbDropdown class="parent-entry" #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)"> | 6 | <div *ngIf="!menuEntry.routerLink" ngbDropdown container="body" class="parent-entry" #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)"> |
7 | <span | 7 | <span |
8 | (mouseenter)="openDropdownOnHover(dropdown)" [ngClass]="{ active: !!suffixLabels[menuEntry.label] }" ngbDropdownAnchor | 8 | (mouseenter)="openDropdownOnHover(dropdown)" [ngClass]="{ active: !!suffixLabels[menuEntry.label] }" ngbDropdownAnchor |
9 | (click)="dropdownAnchorClicked(dropdown)" role="button" class="title-page" | 9 | (click)="dropdownAnchorClicked(dropdown)" role="button" class="title-page" |