Browse Source

Fix scaling on mobile devices

pull/40/head
Simon McFarlane 8 years ago
parent
commit
582cda3c89
  1. 2
      templates/generic_page.html
  2. 3
      templates/index.html
  3. 2
      templates/page.html
  4. 2
      templates/thread.html

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

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

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

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

Loading…
Cancel
Save