1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 21:35:06 +03:00

Fix ugliness in Chrome

Now there's different ugliness!

Ref. #9
This commit is contained in:
Artyom 2016-03-19 03:55:31 +03:00
parent 4f823ddba7
commit 5cff313a2e

View File

@ -149,6 +149,8 @@ wrapPage :: Text -> HtmlT IO () -> HtmlT IO ()
wrapPage pageTitle page = doctypehtml_ $ do
head_ $ do
title_ (toHtml pageTitle)
meta_ [name_ "viewport",
content_ "width=device-width, initial-scale=1.0, user-scalable=yes"]
let cdnjs = "https://cdnjs.cloudflare.com/ajax/libs/"
includeJS (cdnjs <> "jquery/2.2.0/jquery.min.js")
-- See Note [autosize]