Skip to content

fix: set mobile viewport initial scale#258

Open
saurabhhhcodes wants to merge 1 commit into
pushkarscripts:mainfrom
saurabhhhcodes:fix/mobile-viewport-initial-scale-184
Open

fix: set mobile viewport initial scale#258
saurabhhhcodes wants to merge 1 commit into
pushkarscripts:mainfrom
saurabhhhcodes:fix/mobile-viewport-initial-scale-184

Conversation

@saurabhhhcodes
Copy link
Copy Markdown

Summary

  • update the exported Next.js viewport config to use initialScale: 1
  • preserve the existing responsive viewport settings

Fixes #184

Root Cause

app/layout.tsx set initialScale: 0, which is outside the valid viewport initial-scale range and can cause incorrect mobile scaling.

Validation

  • npm run lint passes with existing warnings only
  • npm run build passes
  • git diff --check passes

Impact

Mobile browsers now receive a valid 1:1 initial viewport scale.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 6, 2026

Someone is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

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.

[BUG]: [GSSoC26] feat: Viewport initialScale: 0 prevents mobile zoom

1 participant