Skip to content

Fix mobile menu overlay and item alignment for Tailwind v4#42

Merged
paulcushing merged 2 commits into
mainfrom
copilot/fix-menu-alignment-issues
Mar 28, 2026
Merged

Fix mobile menu overlay and item alignment for Tailwind v4#42
paulcushing merged 2 commits into
mainfrom
copilot/fix-menu-alignment-issues

Conversation

Copilot AI commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

After the Tailwind v4 upgrade, the mobile menu rendered a solid dark overlay (instead of semi-transparent) and the About/Contact links were misaligned left compared to Home.

Changes

  • Overlay opacitybg-opacity-* was removed in Tailwind v4; replaced bg-gray-900 bg-opacity-50 with bg-gray-900/50
  • Menu item alignment — About and Contact were missing ml-6 md:ml-0 that Home already had; added to align all three items consistently on mobile
// Before
className={`... bg-gray-900 bg-opacity-50 ...`}

// After
className={`... bg-gray-900/50 ...`}

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI self-assigned this Mar 28, 2026
Copilot AI linked an issue Mar 28, 2026 that may be closed by this pull request
@vercel

vercel Bot commented Mar 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
should-i-burn Ready Ready Preview, Comment Mar 28, 2026 2:31pm

Request Review

Copilot AI changed the title [WIP] Fix menu alignment and background color issues Fix mobile menu overlay and item alignment for Tailwind v4 Mar 28, 2026
Copilot AI requested a review from paulcushing March 28, 2026 14:31
@paulcushing paulcushing marked this pull request as ready for review March 28, 2026 14:33
@paulcushing paulcushing merged commit bf09af3 into main Mar 28, 2026
7 checks passed
@paulcushing paulcushing deleted the copilot/fix-menu-alignment-issues branch March 28, 2026 14:33
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.

Menu Fix

2 participants