Skip to content

Commit 72324bb

Browse files
committed
fix(header): ensure nav links are clickable above logo
1 parent 2686d42 commit 72324bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/layouts/BaseLayout.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ const twitterHandle = "@_CalvinAllen";
8686
<body class="min-h-screen flex flex-col">
8787
<header class="border-b border-border py-4">
8888
<div class="container mx-auto px-4 flex items-center justify-between">
89-
<a href="/" class="hover:opacity-80 no-underline">
90-
<img src="/images/logo.png" alt="Coding With Calvin" class="h-10" />
89+
<a href="/" class="hover:opacity-80 no-underline flex-shrink-0">
90+
<img src="/images/logo.png" alt="Coding With Calvin" class="h-10 w-auto" />
9191
</a>
92-
<nav class="flex items-center gap-6">
92+
<nav class="flex items-center gap-6 relative z-10">
9393
<a href="/" class="text-text-muted hover:text-primary no-underline">Home</a>
9494
<a href="/blog" class="text-text-muted hover:text-primary no-underline">Blog</a>
9595
<a href="/categories" class="text-text-muted hover:text-primary no-underline">Categories</a>

0 commit comments

Comments
 (0)