-
Notifications
You must be signed in to change notification settings - Fork 675
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
www: docs: fix: Header nav items shouldn't wrap on mobile #2821
base: main
Are you sure you want to change the base?
www: docs: fix: Header nav items shouldn't wrap on mobile #2821
Conversation
www/components/Header.tsx
Outdated
<div class="flex justify-end"> | ||
<NavigationBar class="" active={props.active} /> | ||
<div class="flex [&_.github]:hidden [&_.github]:sm:flex [&_ul]:space-x-2 [&_ul]:sm:space-x-4 [&_li:hover]:text-green-600"> | ||
<SocialIcons /> | ||
</div> | ||
<div class="flex px-3 sm:px-6 fill-foreground-primary hover:fill-fresh [&_*]:transition "> | ||
{isDocs && <ThemeToggle />} | ||
</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should fix that: 85016ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ipt tag's src attribute" This reverts commit d51f07a.
…01/mobile_move_social_icons
Following up on #2820
I noticed the addition of the extra icon in the nav bar made the nav items in the Header newline wrap on small screens (mobile smaller than sm).

This pull request fixes that by doing the following:
Some other changes I snuck in: