mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Remove stray scrolling and zooming glitches on iPad.
This commit is contained in:
parent
ed08b8c00b
commit
069d7117d7
@ -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; }
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
html,body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* Removes RHS whitespace on iPad */
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body.cms {
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user