Skip to content

Commit

Permalink
feat: fix layout shift
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Nov 7, 2023
1 parent ec65099 commit 2ac35a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ export function Navigation({ navigation }: NavigationProps) {
prefetch={false}
href={`/${locale}/`}
hrefLang={locale}
className="w-[100px]"
className="h-[33px] w-[100px]"
onClick={() => setIsSheetOpen(false)}
>
<Image src={logo?.url} width={100} height={100} alt="site-logo" quality={100} />
<Image src={logo?.url} width={100} height={33} alt="site-logo" quality={100} />
</Link>
<ul className="hidden items-center gap-4 sm:flex-wrap lg:flex">
<li className="-mr-3 flex items-center">
Expand Down

0 comments on commit 2ac35a8

Please sign in to comment.