Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 7af832e

Browse files
Merge pull request #57 from frontendweb3/main
fix the header responsive
2 parents 0294116 + c6f35c3 commit 7af832e

File tree

1 file changed

+2
-2
lines changed
  • packages/section-blog-theme/components/Header

1 file changed

+2
-2
lines changed

packages/section-blog-theme/components/Header/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function Header({ Logo, PrimaryNavigation, socialLinks }: { Logo: Logo; P
1111

1212
return (
1313

14-
<header className="container print:hidden mt-3 px-4 lg:px-6 py-8 flex justify-center flex-wrap flex-row md:justify-between items-center mx-auto">
14+
<header className="container print:hidden mt-3 px-4 lg:px-6 py-8 flex gap-y-5 justify-center flex-col sm:flex-row md:justify-between items-center mx-auto">
1515

1616

1717
{Logo.TextLogo && <Link href="/" className="ml-2 self-center text-xl font-semibold whitespace-nowrap !text-foreground dark:text-white">
@@ -20,7 +20,7 @@ export function Header({ Logo, PrimaryNavigation, socialLinks }: { Logo: Logo; P
2020

2121
<NavigationMenu className="my-3 flex flex-wrap justify-between items-center mx-auto md:my-0">
2222

23-
<NavigationMenuList>
23+
<NavigationMenuList className="flex-wrap sm:fle-row">
2424

2525
{
2626

0 commit comments

Comments
 (0)