Skip to content

Commit

Permalink
fix(NavigationDrawer): adjust z-index on bigger screens (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Jun 11, 2024
1 parent 5204fe2 commit 470855f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const on = computed(() => ({
[css[position]]: position,
[css.mini]: miniVariant,
[css.temporary]: temporary,
[css['with-overlay']]: overlay,
},
]"
v-bind="getRootAttrs(attrs)"
Expand All @@ -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;
Expand All @@ -149,6 +150,10 @@ const on = computed(() => ({
@apply translate-x-full right-0;
}
&.with-overlay {
@apply z-[10000];
}
&.visible {
@apply translate-x-0;
}
Expand Down

0 comments on commit 470855f

Please sign in to comment.