From 9105def54461b01a301f437fda9c2a1d66128aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 2 Jun 2021 17:07:44 +0200 Subject: [PATCH] MOBILE-3320 styles: Option to never hide main menu --- src/core/features/mainmenu/pages/menu/menu.scss | 6 ++++++ src/theme/globals.variables.scss | 1 + 2 files changed, 7 insertions(+) diff --git a/src/core/features/mainmenu/pages/menu/menu.scss b/src/core/features/mainmenu/pages/menu/menu.scss index ddfe61715..d814156b1 100644 --- a/src/core/features/mainmenu/pages/menu/menu.scss +++ b/src/core/features/mainmenu/pages/menu/menu.scss @@ -7,6 +7,12 @@ box-shadow: 0px -3px 3px rgba(var(--drop-shadow)); } + @if ($core-always-show-main-menu) { + ion-tab-bar[hidden] { + display: flex !important; + } + } + ion-tab-button ion-icon { text-overflow: unset; overflow: visible; diff --git a/src/theme/globals.variables.scss b/src/theme/globals.variables.scss index 007c42c53..6d5151c4f 100644 --- a/src/theme/globals.variables.scss +++ b/src/theme/globals.variables.scss @@ -392,3 +392,4 @@ $core-more-icon: null !default; $core-more-item-border: null !default; $core-fixed-url: false !default; $core-dashboard-logo: false !default; +$core-always-show-main-menu: false !default;