1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00

fix flash of white in dark mode

This commit is contained in:
2025-05-21 16:56:54 -04:00
parent 83f1cc2fa9
commit 879c2b9dbe
12 changed files with 128 additions and 118 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ const Header = ({ className, ...rest }: React.ComponentProps<"header">) => {
<Image
src={avatarImg}
alt={`Photo of ${siteConfig.name}`}
className="border-ring/80 size-[64px] rounded-full border-2 md:size-[48px] md:border-1"
className="border-ring/40 size-[64px] rounded-full border-2 md:size-[48px] md:border-1"
width={64}
height={64}
quality={50}
@@ -30,7 +30,7 @@ const Header = ({ className, ...rest }: React.ComponentProps<"header">) => {
</span>
</Link>
<Menu className="w-full max-w-64 sm:max-w-96 md:ml-0 md:max-w-none" />
<Menu className="w-full max-w-64 sm:max-w-96 md:max-w-none" />
</header>
);
};