Remote build viewport issues - tryfix

This commit is contained in:
Ghislain Loaec 2015-03-17 11:50:15 +01:00
parent 99e6b6696b
commit 3dbee9824a
2 changed files with 21 additions and 1 deletions

View File

@ -26,6 +26,22 @@
margin: 0;
}
@viewport
{
width:320px;
}
@-ms-viewport {
width:320px;
zoom-user:fixed;
max-zoom:1;
min-zoom:1;
}
body, html {
-ms-overflow-style: none !important;
}
html, body,
#momo-main,
.momo-page,

View File

@ -26,7 +26,11 @@
<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=yes, 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=yes, initial-scale=1,
maximum-scale=1, minimum-scale=1, width=device-width,
height=device-height, target-densitydpi=device-dpi" /-->
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title class="momo-title">Loading</title>
</head>