Skip to content

feat(web): move docs mobile drawer to the right and polish its motion#30

Merged
PunGrumpy merged 2 commits into
mainfrom
feat/docs-mobile-nav-right
Jul 25, 2026
Merged

feat(web): move docs mobile drawer to the right and polish its motion#30
PunGrumpy merged 2 commits into
mainfrom
feat/docs-mobile-nav-right

Conversation

@PunGrumpy

@PunGrumpy PunGrumpy commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Move the docs mobile nav drawer (and its hamburger trigger in the header) to the right edge, keeping the trigger and panel spatially consistent
  • Fade the ::backdrop in sync with the panel instead of snapping on open/close
  • Slow the slide to 350ms on a new iOS-style drawer curve (--ease-drawer, from Ionic) instead of the strong ease-out used for dropdowns
  • Respect prefers-reduced-motion on both the panel and backdrop
  • Add active:scale-[0.97] press feedback to the trigger and close buttons, and fix the trigger's optical alignment (-ms-1-me-1) for its new right-side placement

Test plan

  • Pre-commit hooks: build, tests, and typecheck pass on both commits
  • Open the docs on a mobile viewport: drawer slides in from the right with the backdrop fading in sync
  • Toggle reduced motion in OS settings: drawer appears/disappears without sliding

🤖 Generated with Claude Code

PunGrumpy and others added 2 commits July 25, 2026 18:47
Slide the docs drawer in from the right edge to match the hamburger
trigger, now placed at the end of the header. Flip the dashed border
to the panel's start edge and align the trigger icon with -me-1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Fade the backdrop in sync with the panel instead of snapping, slow the
slide to 350ms on an iOS-style drawer curve (--ease-drawer), respect
prefers-reduced-motion, and add scale press feedback to the trigger and
close buttons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docker-doctor Ready Ready Preview, Comment Jul 25, 2026 11:50am

@github-actions

Copy link
Copy Markdown
Contributor

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit b80bd09.

@PunGrumpy
PunGrumpy merged commit c68e526 into main Jul 25, 2026
9 checks passed
@PunGrumpy
PunGrumpy deleted the feat/docs-mobile-nav-right branch July 25, 2026 11:52
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