summaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-16 14:45:50 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-16 14:45:50 +0100
commit985b052d3961ab97ac9cf2e6f9f712a7a34024e1 (patch)
tree0557a28402bc2c8f96b29540061afd26b14b487e /templates/layout.html
parent66f5dcf0ba6a554bec8cd45c01982d0588cf7bbc (diff)
downloadkyblo-985b052d3961ab97ac9cf2e6f9f712a7a34024e1.tar.xz
Set viewport properly for mobile
> The width property controls the size of the viewport. It can be set to > a specific number of pixels like width=600 or to the special value > device-width which is the width of the screen in CSS pixels at a scale > of 100%. > > The initial-scale property controls the zoom level when the page is > first loaded. — https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 562764f..487a040 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
{% block head %}{% endblock %}
<style>
html {