summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-05-14 11:12:04 -0700
committerBen Sima <ben@bsima.me>2020-05-14 11:12:04 -0700
commit66f61f0049d8ac056c916bace794d05c073f5707 (patch)
tree16906d48dcbf106945cdd9a56e024b4d0ac18935
parent9227a3cdda6767fc4b4275d15a81d8456aacb430 (diff)
Scale appropriately for phone
-rw-r--r--z.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/z.scm b/z.scm
index 8d86472..745cf4c 100644
--- a/z.scm
+++ b/z.scm
@@ -206,7 +206,10 @@ NL < '\n'
names paths)))))))
(define (template title body)
- `(html (head (title ,title))
+ `(html (head
+ (title ,title)
+ (meta (@ (name "viewport")
+ (content "width=device-width, initial-scale=1"))))
(style ,*css*)
(body
(h1 "z")