Skip to content

Commit

Permalink
Fix nav item sizing (denoland#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
donjo authored Jul 11, 2024
1 parent 2588923 commit 70dd305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Header({

{reference &&
(
<nav className="px-4 pt-2 pb-3 bg-white flex items-center justify-between border-box border-t border-gray-200 z-[1000]">
<nav className="px-4 md:px-6 pt-2 pb-3 text-sm bg-white flex items-center justify-between border-box border-t border-gray-200 z-[1000]">
<ul className="flex">
<li>
<HeaderItem
Expand Down Expand Up @@ -147,7 +147,7 @@ function HeaderItem({
<a
class={`mt-1 ${
firstItem ? "ml-0" : ""
} mx-2.5 px-0.5 text-sm hover:text-primary flex items-center ${
} mx-2.5 px-0.5 text-md hover:text-primary flex items-center ${
activeOn && url.startsWith(activeOn)
? "text-primary border-b-2 border-primary"
: "border-b-2 border-transparent"
Expand Down

0 comments on commit 70dd305

Please sign in to comment.