Skip to content

Tighten Nav for mobile#782

Merged
backnotprop merged 1 commit into
mainfrom
fix/marketing-nav-mobile-tighten
May 23, 2026
Merged

Tighten Nav for mobile#782
backnotprop merged 1 commit into
mainfrom
fix/marketing-nav-mobile-tighten

Conversation

@backnotprop
Copy link
Copy Markdown
Owner

Follow-up to #781. Three additional tweaks that shrink the right-side cluster on mobile so the Docs link stops nudging the Plannotator logo:

  • px-6px-4 sm:px-6 on the nav (24px → 16px side padding on mobile)
  • gap-2gap-1.5 sm:gap-2 on the link group (8px → 6px between links on mobile)
  • Theme toggle wrapped in hidden sm:flex so it disappears on mobile entirely. Mode is still applied from the cookie pre-paint script in Base.astro; users just lose the visible toggle on phones (still there on tablets+).

Generated with Devin

Three changes that reclaim horizontal room on narrow viewports so the
Docs link stops drifting into the logo:

- Nav side padding 24px -> 16px on mobile (px-4 sm:px-6)
- Link group gap 8px -> 6px on mobile (gap-1.5 sm:gap-2)
- Hide the theme toggle on mobile (the React island lives in a
  hidden sm:flex wrapper); mode is still respected from cookies and
  the toggle is back at sm+

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@backnotprop backnotprop merged commit abca636 into main May 23, 2026
3 checks passed
@backnotprop backnotprop deleted the fix/marketing-nav-mobile-tighten branch May 23, 2026 01:27
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.

1 participant