Skip to content

Commit 0db2b45

Browse files
Fix profile menu overlaying side menu (#112)
* Fixed 38 * fix: adjusting z index of NavbarDrawer.vue --------- Co-authored-by: Felix Bargfeldt <[email protected]>
1 parent f2420a2 commit 0db2b45

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

components/NavbarDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Transition>
66
<section
77
v-if="show"
8-
class="w-screen h-screen fixed left-0 top-0 z-50"
8+
class="w-screen h-screen fixed left-0 top-0 z-[10000]"
99
@click.self="closeMenu"
1010
>
1111
<aside class="h-full w-72 bg-tertiary p-[5vw] sm:p-9 shadow-2xl">

tailwind.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ module.exports = {
4343
warning: 'var(--color-warning)',
4444
},
4545
},
46+
extend: {
47+
zIndex: {
48+
'100': '100',
49+
}
50+
},
4651
plugins: [
4752
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
4853
addComponents({
@@ -281,8 +286,7 @@ module.exports = {
281286
},
282287
// transition duration-300 ease-out
283288
'.transition-basic': {
284-
transitionProperty:
285-
'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
289+
transitionProperty: 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
286290
transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',
287291
transitionDuration: '300ms',
288292
},

0 commit comments

Comments
 (0)