Skip to content

Conversation

@SergioPoveda
Copy link

change user-scalable=yes

By allowing it to be user scalable do we need to set an initial or a max/min scale as well?

change user-scalable=yes
Copy link
Contributor

@ExtraGravity ExtraGravity left a comment

Choose a reason for hiding this comment

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

Good, the user-scalable doesn't need to be set, it's an artifact from a copy paste :)

As to your question, setting the max min scale isn't necessary. This training isn't really meant for mobile anyways, this line of code was included just so it would look reasonable on a mobile screen.

<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="viewport" content="width=device-width, user-scalable=yes">
#if you are allowing it to be scalable, do you need to set an intial scale
Copy link
Contributor

@ExtraGravity ExtraGravity Nov 5, 2017

Choose a reason for hiding this comment

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

Let's remove this comment. Also, by default user-scalable is yes, so to fix this the best would be just to remove the whole user-scalable=no` attribute.

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