Fix issue #53 Toggle menu will disappear

This commit is contained in:
prototypa
2022-11-01 11:37:12 +01:00
parent bb67f106b8
commit d50028ed06
2 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import { getPermalink, getBlogPermalink, getHomePermalink } from '~/utils/permal
<header
class="sticky top-0 z-40 flex-none mx-auto w-full bg-white md:bg-white/90 dark:bg-slate-900 dark:md:bg-slate-900/90 md:backdrop-blur-sm border-b dark:border-b-0"
id="header"
>
<div class="py-3 px-3 mx-auto w-full md:flex md:justify-between max-w-6xl md:px-4">
<div class="flex justify-between">
@ -23,7 +24,6 @@ import { getPermalink, getBlogPermalink, getHomePermalink } from '~/utils/permal
<nav
class="items-center w-full md:w-auto hidden md:flex text-gray-600 dark:text-slate-200 h-screen md:h-auto"
aria-label="Main navigation"
id="menu"
>
<ul
class="flex flex-col pt-8 md:pt-0 md:flex-row md:self-center w-full md:w-auto text-xl md:text-base"