Skip to content
Permalink
Browse files
Remove target-density and height=device-height from <viewport>
These are known to cause more problems than they solve. Shouldn't be in
the default template
  • Loading branch information
agrieve committed Mar 6, 2015
1 parent 70858d1 commit 96cd7529063f28c24559d03a69694450c74b1291
Showing 1 changed file with 1 addition and 3 deletions.
@@ -19,11 +19,9 @@
-->
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="css/index.css">
<title>Hello World</title>
</head>

0 comments on commit 96cd752

Please sign in to comment.