Skip to content

Commit f5b596b

Browse files
committed
fix: navbar spacing final
Signed-off-by: Harshil <[email protected]>
1 parent 0735fd3 commit f5b596b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

layouts/partials/nav.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
<!-- Logo -->
77
<div>
8-
<a href="/"><img src="/logo/large_logo.svg" class="h-10 lg:h-12 xl:h-14" alt="Cloud Native Postgres Logo"></a>
8+
<a href="/"><img src="/logo/large_logo.svg" class="h-8 lg:h-12 xl:h-14" alt="Cloud Native Postgres Logo"></a>
99
</div>
1010

11-
<!-- Desktop Menu -->
12-
<div class="hidden lg:block">
13-
<ul class="flex gap-4 xl:gap-8 text-base lg:text-lg xl:text-xl medium-gray my-5 pb-0">
11+
<!-- Desktop & Tablet Menu -->
12+
<div class="hidden md:block">
13+
<ul class="flex gap-3 lg:gap-4 xl:gap-8 text-sm md:text-base lg:text-lg xl:text-xl medium-gray my-5 pb-0">
1414
<li><a href="/blog">Blog</a></li>
1515
<li><a href="/tags/tutorial">Tutorials</a></li>
1616
<li><a href="/releases">Releases</a></li>
@@ -20,15 +20,15 @@
2020
</ul>
2121
</div>
2222

23-
<!-- GitHub Button (Desktop) -->
24-
<div class="hidden lg:block pt-2">
23+
<!-- GitHub Button -->
24+
<div class="hidden md:block pt-1.5">
2525
<a class="github-button" href="https://github.com/cloudnative-pg/cloudnative-pg"
2626
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
2727
aria-label="Star cloudnative-pg/cloudnative-pg on GitHub">Star</a>
2828
</div>
2929

30-
<!-- Hamburger (Mobile & Tablet) -->
31-
<div class="lg:hidden flex items-center" id="toggle-button">
30+
<!-- Hamburger click -->
31+
<div class="md:hidden flex items-center" id="toggle-button">
3232
<svg xmlns="http://www.w3.org/2000/svg" class="h-7 w-7" fill="none" viewBox="0 0 24 24" stroke="currentColor"
3333
stroke-width="2">
3434
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16" />
@@ -37,7 +37,7 @@
3737
</div>
3838

3939
<!-- Mobile Menu -->
40-
<div class="hidden lg:hidden bg-gray-1 px-4 py-3" id="navi-list">
40+
<div class="hidden md:hidden bg-gray-1 px-4 py-3" id="navi-list">
4141
<ul class="space-y-2 text-lg charcoal">
4242
<li class="text-center py-2"><a href="/blog">Blog</a></li>
4343
<li class="text-center py-2"><a href="/tags/tutorial">Tutorials</a></li>

0 commit comments

Comments
 (0)