From 64545a834b881d9b49d84f99119070f356b93e24 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Apr 2019 11:39:03 +0200 Subject: Fix top menu dropdown --- client/src/app/shared/menu/top-menu-dropdown.component.html | 2 +- client/src/app/shared/menu/top-menu-dropdown.component.ts | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/menu') 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 54a8f9e80..35511ee62 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 @@ {{ menuEntry.label }} -
+
e.children && e.children.some(c => !!c.iconName) ) + + // FIXME: We have to set body for the container to avoid because of scroll overflow on mobile view + // But this break our hovering system + if (this.screen.isInMobileView()) { + this.container = 'body' + } } ngOnDestroy () { -- cgit v1.2.3