mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #244 from sminnee/ipad-fixes
BUGFIX: Remove stray scrolling and zooming glitches on iPad.
This commit is contained in:
commit
e443ec5c9c
@ -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; }
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user