Skip to content

fix viewport meta missing comma#40

Open
jbanmol wants to merge 1 commit intohumanai-foundation:masterfrom
jbanmol:fix/viewport-meta
Open

fix viewport meta missing comma#40
jbanmol wants to merge 1 commit intohumanai-foundation:masterfrom
jbanmol:fix/viewport-meta

Conversation

@jbanmol
Copy link
Copy Markdown

@jbanmol jbanmol commented Mar 31, 2026

No description provided.

Co-Authored-By: Oz <oz-agent@warp.dev>
Copilot AI review requested due to automatic review settings March 31, 2026 08:47
@jbanmol
Copy link
Copy Markdown
Author

jbanmol commented Mar 31, 2026

fix:missing comma

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the HTML viewport meta tag formatting so the initial-scale and user-scalable directives are correctly separated.

Changes:

  • Add the missing comma in the meta name="viewport" content attribute.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting user-scalable=no prevents users from zooming, which can be an accessibility issue (WCAG 1.4.4 / 1.4.10). Since this line is being edited, consider removing user-scalable=no (and avoid adding maximum-scale=1) unless there’s a strong product requirement to disable zoom.

Suggested change
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1">

Copilot uses AI. Check for mistakes.
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.

2 participants