Merge pull request #244 from sminnee/ipad-fixes

BUGFIX: Remove stray scrolling and zooming glitches on iPad.
This commit is contained in:
Ingo Schommer 2012-03-15 03:03:45 -07:00
commit e443ec5c9c
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). * (see _tree.scss and _menu.scss).
*/ */
/** ---------------------------------------------------- Core Styles. ---------------------------------------------------- */ /** ---------------------------------------------------- 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; } body.cms { overflow: hidden; }

View File

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

View File

@ -1,8 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<% base_tag %> <% 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> <title>$Title</title>
</head> </head>