Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #244 from sminnee/ipad-fixes

BUGFIX: Remove stray scrolling and zooming glitches on iPad.
  • Loading branch information...
commit e443ec5c9c019e452c5a57ca183cce7e69bc0e74 2 parents fc9e065 + 069d711
Ingo Schommer chillu authored
2  admin/css/screen.css
View
@@ -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; }
2  admin/scss/_style.scss
View
@@ -21,6 +21,8 @@
html,body {
width: 100%;
height: 100%;
+ /* Removes RHS whitespace on iPad */
+ overflow-x: hidden;
}
body.cms {
3  admin/templates/LeftAndMain.ss
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.