You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2012/08/28 06:21:23 UTC
git commit: [#1282] Fix viewport height on BlackBerry.
Updated Branches:
refs/heads/master 7f9b97293 -> f593a4992
[#1282] Fix viewport height on BlackBerry.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/commit/f593a499
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/tree/f593a499
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/diff/f593a499
Branch: refs/heads/master
Commit: f593a4992e39d5dc65365e12160a0d9cf231276a
Parents: 7f9b972
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Mon Aug 27 21:20:24 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Mon Aug 27 21:20:24 2012 -0700
----------------------------------------------------------------------
www/css/index.css | 10 +++-------
www/index.html | 2 +-
2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/f593a499/www/css/index.css
----------------------------------------------------------------------
diff --git a/www/css/index.css b/www/css/index.css
index dcb764b..266c3a7 100644
--- a/www/css/index.css
+++ b/www/css/index.css
@@ -16,13 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-html,
-body {
- height:100%;
- font-size:12px;
- width:100%;
-}
-
body {
background-color:#E4E4E4;
background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
@@ -37,9 +30,12 @@ body {
);
background-attachment:fixed;
font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
+ font-size:12px;
+ height:100%;
margin:0px;
padding:0px;
text-transform:uppercase;
+ width:100%;
}
/* Portrait layout (default) */
http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/f593a499/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 2134034..61c0bd0 100644
--- a/www/index.html
+++ b/www/index.html
@@ -21,7 +21,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" />
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>