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:
metonym 2022-07-12 19:43:45 -07:00 committed by GitHub
commit 638a43714f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,7 @@
}}"
class:bx--side-nav__overlay="{true}"
class:bx--side-nav__overlay-active="{isOpen}"
style="{isOpen && 'z-index: 6000'}"
></div>
{/if}
<nav