Fix scaling on mobile devices

This commit is contained in:
Simon McFarlane 2016-01-09 01:33:30 +00:00
parent 36e001f007
commit 582cda3c89
4 changed files with 8 additions and 1 deletions

View File

@ -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 %}

View File

@ -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";

View File

@ -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>

View File

@ -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";