diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-05-11 11:12:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 11:12:58 +0200 |
commit | 8544d8f561f6cd630973da041f36e46500fe95b7 (patch) | |
tree | 8a5b82d3e4b65308ce6584993cb3507450277f94 /client/src/app/shared/menu/top-menu-dropdown.component.html | |
parent | 70afd522ba3fc08fd407f622aad0f15e8e88b249 (diff) | |
download | PeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.tar.gz PeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.tar.zst PeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.zip |
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
* Fix: correct my-account menu overflow-x on touchscreens
* Add menuLeftDisplayed support for account-sub-menu
* Handle menu in screen service + clean top-menu-dropdown
* Add comment on menuWidth menu service to allow backtracking
Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
Diffstat (limited to 'client/src/app/shared/menu/top-menu-dropdown.component.html')
-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 d577f757d..07ec1ac97 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 title-page-settings">{{ menuEntry.label }}</a> | 4 | <a *ngIf="menuEntry.routerLink" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page title-page-settings">{{ menuEntry.label }}</a> |
5 | 5 | ||
6 | <div *ngIf="!menuEntry.routerLink" ngbDropdown [container]="container" class="parent-entry" | 6 | <div *ngIf="!menuEntry.routerLink" ngbDropdown container="body" class="parent-entry" |
7 | #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)"> | 7 | #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)"> |
8 | <span | 8 | <span |
9 | *ngIf="isInSmallView" | 9 | *ngIf="isInSmallView" |