From d2191c5577c4c1d23e9c02310331eb998def859d Mon Sep 17 00:00:00 2001 From: lukicenturi Date: Tue, 11 Jun 2024 13:30:04 +0700 Subject: [PATCH] fix(NavigationDrawer): adjust z-index on bigger screen --- .../overlays/navigation-drawer/NavigationDrawer.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/overlays/navigation-drawer/NavigationDrawer.vue b/src/components/overlays/navigation-drawer/NavigationDrawer.vue index a665c48..a58c66e 100644 --- a/src/components/overlays/navigation-drawer/NavigationDrawer.vue +++ b/src/components/overlays/navigation-drawer/NavigationDrawer.vue @@ -123,6 +123,7 @@ const on = computed(() => ({ [css[position]]: position, [css.mini]: miniVariant, [css.temporary]: temporary, + [css['with-overlay']]: overlay, }, ]" v-bind="getRootAttrs(attrs)" @@ -139,7 +140,7 @@ const on = computed(() => ({ } .content { - @apply transition-all top-0 h-full fixed text-rui-text bg-white z-[10000]; + @apply transition-all top-0 h-full fixed text-rui-text bg-white z-[7]; &.left { @apply -translate-x-full left-0; @@ -149,6 +150,10 @@ const on = computed(() => ({ @apply translate-x-full right-0; } + &.with-overlay { + @apply z-[10000]; + } + &.visible { @apply translate-x-0; }