diff options
author | Joris | 2016-03-31 18:02:35 +0200 |
---|---|---|
committer | Joris | 2016-03-31 18:02:35 +0200 |
commit | 84f53fac431df20afd54817cca14260f1202e9ff (patch) | |
tree | 902b1719f2cb605d4609e74083b310f5db264a3a /src | |
parent | c95e19407d492a0d4e9e14e320520fe29ce379e5 (diff) |
Add viewport
Diffstat (limited to 'src')
-rw-r--r-- | src/client/elm/SignIn/View.elm | 2 | ||||
-rw-r--r-- | src/server/View/Page.hs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/client/elm/SignIn/View.elm b/src/client/elm/SignIn/View.elm index 2269a4f..d81d63a 100644 --- a/src/client/elm/SignIn/View.elm +++ b/src/client/elm/SignIn/View.elm @@ -29,8 +29,6 @@ view address model signInModel = [ input [ value signInModel.login , on "input" targetValue (Signal.message address << UpdateSignIn << SignInAction.UpdateLogin) - , type' "text" - , autocomplete True , name "email" ] [] diff --git a/src/server/View/Page.hs b/src/server/View/Page.hs index 4108b99..33e32f7 100644 --- a/src/server/View/Page.hs +++ b/src/server/View/Page.hs @@ -28,6 +28,7 @@ page conf initResult = renderHtml . docTypeHtml $ do H.head $ do meta ! charset "UTF-8" + meta ! name "viewport" ! content "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" H.title (toHtml $ getMessage SharedCost) script ! src "javascripts/client.js" $ "" jsonScript "messages" getTranslations |