BUGFIX: Remove stray scrolling and zooming glitches on iPad.

This commit is contained in:
Sam Minnee 2012-03-15 14:13:30 +13:00
parent ed08b8c00b
commit 069d7117d7
3 changed files with 5 additions and 2 deletions

View File

@ -231,7 +231,7 @@ input.radio { margin-left: 0; }
* (see _tree.scss and _menu.scss).
*/
/** ---------------------------------------------------- Core Styles. ---------------------------------------------------- */
html, body { width: 100%; height: 100%; }
html, body { width: 100%; height: 100%; /* Removes RHS whitespace on iPad */ overflow-x: hidden; }
body.cms { overflow: hidden; }

View File

@ -21,6 +21,8 @@
html,body {
width: 100%;
height: 100%;
/* Removes RHS whitespace on iPad */
overflow-x: hidden;
}
body.cms {

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<% base_tag %>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=720, maximum-scale=1.0" />
<title>$Title</title>
</head>