Enabled meta viewport, to support Responsive Design.

Meta tags inside the iframe are largely ignored, to enable developers to build responsive applications, they need a viewport. Though many developers tweak the viewport setting, the one presented here is by-and-large the most commonly used, as it's simple and effective.
This commit is contained in:
Shakna Israel 2015-02-08 12:39:52 +11:00
parent cfe2cfaf09
commit 9669b084cd
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
<title>{title} - ZeroNet</title>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/uimedia/all.css" />
</head>
<body style="{body_style}">
@ -46,4 +47,4 @@
<script type="text/javascript" src="/uimedia/all.js" asyc></script>
</body>
</html>
</html>