Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nav item sizing #556

Merged
merged 4 commits into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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