Spaces:
Running
Running
fix(nav): increase z-index for mobile nav close button
Browse files
src/lib/components/MobileNav.svelte
CHANGED
@@ -128,7 +128,7 @@
|
|
128 |
{#if page.url.pathname === base + "/"}
|
129 |
<button
|
130 |
type="button"
|
131 |
-
class="absolute right-0 top-0 z-
|
132 |
onclick={() => (isOpen = false)}
|
133 |
aria-label="Close menu"
|
134 |
bind:this={closeEl}><CarbonClose /></button
|
|
|
128 |
{#if page.url.pathname === base + "/"}
|
129 |
<button
|
130 |
type="button"
|
131 |
+
class="absolute right-0 top-0 z-50 flex size-12 items-center justify-center text-lg"
|
132 |
onclick={() => (isOpen = false)}
|
133 |
aria-label="Close menu"
|
134 |
bind:this={closeEl}><CarbonClose /></button
|