From e6ed8b92030e95692a506f9a4a5e0bc043155a8d Mon Sep 17 00:00:00 2001 From: sivanova Date: Thu, 5 May 2022 15:25:12 +0300 Subject: [PATCH] fix(navigations): z-index-issues --- src/components/nav-drawer/styles/nav-drawer.base.scss | 1 + src/components/navbar/themes/light/navbar.base.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/nav-drawer/styles/nav-drawer.base.scss b/src/components/nav-drawer/styles/nav-drawer.base.scss index 885b72556..659b0e360 100644 --- a/src/components/nav-drawer/styles/nav-drawer.base.scss +++ b/src/components/nav-drawer/styles/nav-drawer.base.scss @@ -106,6 +106,7 @@ position: relative; width: fit-content; box-shadow: none; + z-index: initial; } [part='overlay'] { diff --git a/src/components/navbar/themes/light/navbar.base.scss b/src/components/navbar/themes/light/navbar.base.scss index c8b4a61b0..a6dc03252 100644 --- a/src/components/navbar/themes/light/navbar.base.scss +++ b/src/components/navbar/themes/light/navbar.base.scss @@ -11,6 +11,7 @@ color: contrast-color(primary, 600); box-shadow: var(--igc-elevation-4); font-family: var(--igc-font-family); + z-index: 4; } [part='base'] { @@ -20,7 +21,6 @@ flex-grow: 1; align-items: center; overflow: hidden; - z-index: 4; } [part='middle'] {