Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

fix(NavigationDrawer): adjust z-index on bigger screen #206

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading