mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(side-nav): set high z-index
on open overlay (#1388)
Fixes #786 The UI Shell `SideNav` overlay can sometimes be superseded by other elements. This applies a `z-index` value of `6000` to the overlay when open.
This commit is contained in:
parent
2fedd6343f
commit
638a43714f
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
||||||
}}"
|
}}"
|
||||||
class:bx--side-nav__overlay="{true}"
|
class:bx--side-nav__overlay="{true}"
|
||||||
class:bx--side-nav__overlay-active="{isOpen}"
|
class:bx--side-nav__overlay-active="{isOpen}"
|
||||||
|
style="{isOpen && 'z-index: 6000'}"
|
||||||
></div>
|
></div>
|
||||||
{/if}
|
{/if}
|
||||||
<nav
|
<nav
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue