about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2016-12-31 22:48:09 +0100
committersternenseemann <git@lukasepple.de>2016-12-31 22:48:09 +0100
commit57a05a1740ca41cccf58f728c89a09bc26c915cc (patch)
tree766ace4a5087010e79b996c3bcc45297c057988d
parent62ac18191ed4b0e01c4b2d216b915249dd7f62fc (diff)
Set viewport
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b9a199a..b521a5a 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -109,6 +109,7 @@ gResponseToHtml :: Params -> GopherResponse -> Html ()
 gResponseToHtml cfg res
   = doctype_ <> html_
       (head_ (meta_ [charset_ "utf-8"]
+             <> meta_ [term "viewport" "width=device-width"]
              <> title_ "gopher-proxy"
              <> link_ [rel_ "stylesheet", type_ "text/css", href_ . decodeUtf8 . cssUrl $ cfg])
       <> body_ bodyContent)