summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSimon McFarlane <simon@piston.pw>2016-01-09 01:33:30 +0000
committerSimon McFarlane <simon@piston.pw>2016-01-09 02:24:35 +0000
commit582cda3c892296424b40209f5d3cb4f2e3ab18a6 (patch)
tree6f3981639128727f40b0afa688def3a2f6cce03a /templates
parent36e001f007f3446208fa0f4cafaa9bfad2aa161f (diff)
Fix scaling on mobile devices
Diffstat (limited to 'templates')
-rw-r--r--templates/generic_page.html2
-rw-r--r--templates/index.html3
-rw-r--r--templates/page.html2
-rw-r--r--templates/thread.html2
4 files changed, 8 insertions, 1 deletions
diff --git a/templates/generic_page.html b/templates/generic_page.html
index 965cbc2c..3ff200f9 100644
--- a/templates/generic_page.html
+++ b/templates/generic_page.html
@@ -6,6 +6,8 @@
<title>{{ board.url }} - {{ board.name }}</title>
{% endblock %}
</head>
+<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+
<body>
{{ boardlist.top }}
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
diff --git a/templates/index.html b/templates/index.html
index 2771026d..1878d455 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,7 +2,8 @@
<html>
<head>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+
<script type="text/javascript">
{% if not no_post_form %}
var active_page = "index";
diff --git a/templates/page.html b/templates/page.html
index cb35d76a..7c0ccb09 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -2,6 +2,8 @@
<html>
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+
<script type="text/javascript">
active_page = "page";
</script>
diff --git a/templates/thread.html b/templates/thread.html
index e0ea1e07..62fe2c12 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -2,6 +2,8 @@
<html>
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+
<script type="text/javascript">
var active_page = "thread";