Skip to content

Commit e485e35

Browse files
committed
Viewport width
1 parent 66633a7 commit e485e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ page input res = html $ renderHtml $ do
179179
H.html $ do
180180
H.head $ do
181181
H.title $ H.toHtml $ str "Try PureScript!"
182+
H.meta ! A.name "viewport" ! A.content "width=device-width, initial-scale=1.0"
182183
H.link ! A.rel "stylesheet" ! A.type_ "text/css" ! A.href "http://fonts.googleapis.com/css?family=Lato:300,400,700"
183184
H.link ! A.rel "stylesheet" ! A.type_ "text/css" ! A.href "http://fonts.googleapis.com/css?family=Ubuntu+Mono"
184185
H.style $ H.toHtml $ str css

0 commit comments

Comments
 (0)