Skip to content

Commit

Permalink
Make nav links smaller and closer together on mobile
Browse files Browse the repository at this point in the history
This should prevent it from wrapping on most small phones, which doesn’t
look good.
  • Loading branch information
johnjago committed Jun 14, 2024
1 parent 9d85531 commit e8d9b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/header-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="/" class="flex justify-center">
<div id="nav-logo" class="bg-gray-50 w-[80px] h-[40px]"></div>
</a>
<nav class="text-gray-50 font-semibold flex flex-wrap gap-8 items-center justify-center">
<nav class="text-gray-50 font-semibold flex flex-wrap gap-6 md:gap-8 items-center justify-center text-sm md:text-base">
<a href="/#features" class="transition">Features</a>
<a href="/#pricing" class="transition">Pricing</a>
<a href="/releases/" class="whitespace-nowrap transition">What’s new</a>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="/" class="flex justify-center">
<div id="nav-logo" class="bg-[#CB8A86] w-[80px] h-[40px]"></div>
</a>
<nav class="text-gray-800 font-semibold flex flex-wrap gap-8 items-center justify-center">
<nav class="text-gray-800 font-semibold flex flex-wrap gap-6 md:gap-8 items-center justify-center text-sm md:text-base">
<a href="/#features" class="transition">Features</a>
<a href="/#pricing" class="transition">Pricing</a>
<a href="/releases/" class="whitespace-nowrap transition">What’s new</a>
Expand Down

0 comments on commit e8d9b95

Please sign in to comment.