Fix Header with white background on mobile dark

This commit is contained in:
prototypa
2023-07-28 09:12:47 -04:00
parent d6f3055e31
commit bd781b925f
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`
<header
class:list={[
{ sticky: isSticky, relative: !isSticky, dark: isDark },
"top-0 z-40 flex-none mx-auto w-full border-b border-gray-50/0 transition-[opacity] ease-in-out",
"top-0 z-40 flex-none mx-auto w-full border-b border-gray-50/0 transition-[opacity] ease-in-out bg-page",
]}
{...id ? { id } : {}}
>