From a27cb88dc5646148fba835a88492731283c1695d Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Tue, 30 Oct 2018 08:48:42 +0100 Subject: [PATCH] bugfix: mobile region tree less buggy when filtering is on --- src/atlasViewer/atlasViewer.style.css | 15 +++++++++++++++ src/atlasViewer/atlasViewer.template.html | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/atlasViewer/atlasViewer.style.css b/src/atlasViewer/atlasViewer.style.css index 349ff25c5..f1e509854 100644 --- a/src/atlasViewer/atlasViewer.style.css +++ b/src/atlasViewer/atlasViewer.style.css @@ -227,6 +227,21 @@ span.tabContainer.active-tab:before min-height:50em; } +[mobileMenu] > * +{ + position: relative; +} + +[mobileMenu] > atlas-banner +{ + z-index: 9999; +} + +[mobileMenu] > template-parcellation-citation-container +{ + z-index: 9; +} + [mobileTemplateCitation] { padding: 1.5em; diff --git a/src/atlasViewer/atlasViewer.template.html b/src/atlasViewer/atlasViewer.template.html index 094c5b303..e5e89a779 100644 --- a/src/atlasViewer/atlasViewer.template.html +++ b/src/atlasViewer/atlasViewer.template.html @@ -91,7 +91,7 @@ <div resizeSliver> <span - *ngIf = "isMobile || true" + *ngIf = "isMobile" class = "tabContainer" (click) = "toggleSidePanel('menuBrowser')" [ngClass] = "{'active-tab' : (sidePanelView$ | async) === 'menuBrowser'}" > -- GitLab