Skip to content

Let the footer links wrap on phones - #106

Open
A7med7x7 wants to merge 1 commit into
mainfrom
autopilot/fix-footer-wrap
Open

A7med7x7 wants to merge 1 commit into
mainfrom
autopilot/fix-footer-wrap

Conversation

@A7med7x7

Copy link
Copy Markdown
Member

A site-wide phone bug, worth merging soon.

Adding the Contact link (388520b) made the footer's five links (Courses, Tools, Contributors, Contact, Privacy) wider than a phone screen. They didn't wrap, so the footer pushed every page wider than the screen and the whole site scrolled sideways:

Width Overflow before After
360 px 53 px 0
390 px 23 px 0
414 px and up 0 0

The fix is one class: the footer <nav> is now flex-wrap, with a small row gap, so Privacy drops to a second line when it doesn't fit. Desktop is unchanged.

Checked with Playwright on /, /courses and a lesson at 320, 360, 390 and 1280 px: 0 px horizontal overflow everywhere. npm run lint: 0 errors. npm run test: all pass.


Generated by Claude Code

Adding Contact (388520b) made the footer row Courses, Tools,
Contributors, Contact, Privacy wider than a phone, so every page
scrolled sideways: 23 px at 390 px wide and 53 px at 360. The links
now wrap onto a second line when they don't fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EC6Zzt5akQu7TEHdGquZzp

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants