Skip to content

fix: rationalize z-index scale and restore pinch-zoom on mobile#9

Open
jaredgoldman wants to merge 1 commit intomainfrom
worktree-agent-a58e93811dea507a7
Open

fix: rationalize z-index scale and restore pinch-zoom on mobile#9
jaredgoldman wants to merge 1 commit intomainfrom
worktree-agent-a58e93811dea507a7

Conversation

@jaredgoldman
Copy link
Copy Markdown
Owner

Summary

  • Replace touch-action: none with touch-action: pan-x pan-y on html, body to restore pinch-to-zoom accessibility on mobile while preserving custom JS swipe handling
  • Normalize z-index values in shared.scss to a coherent scale: .chev desktop → 10, #pill-indicator and #scroll-indicator → 20, .chev mobile → 30 (was 100, 1000, 1000, 9999 respectively)

Test plan

  • Compile SCSS with pnpm run css — no errors (only pre-existing @import deprecation warnings)
  • Verify pinch-to-zoom works on mobile after the touch-action change
  • Verify navigation chevrons, pill indicator, and scroll indicator render correctly at their new stacking levels

🤖 Generated with Claude Code

Replace touch-action: none with pan-x pan-y to allow pinch-to-zoom while
preserving custom JS swipe handling. Normalize z-index values to a coherent
scale: .chev desktop→10, pill/scroll-indicator→20, .chev mobile→30.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

Deploy Preview for jared-goldman-portfolio ready!

Name Link
🔨 Latest commit 77f01b3
🔍 Latest deploy log https://app.netlify.com/projects/jared-goldman-portfolio/deploys/69f97d3db448d90008bd890b
😎 Deploy Preview https://deploy-preview-9--jared-goldman-portfolio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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