Reputation: 153
To view the page according to the mobile resolution, "the user should enable the desktop version" on the mobile browser. If the "desktop version button" of the mobile browser is not enabled, it shows according to the mobile resolution. So it works oppositely than it is supposed to work. What would cause this? I couldn't find the causes of this misbehavior.
Upvotes: 2
Views: 2136
Reputation: 10221
Add to the <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
Upvotes: 1