summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-10 10:27:33 -0400
committerJune McEnroe <june@causal.agency>2020-07-10 10:27:33 -0400
commit10f804d3cc66346ed1f6b09dd97b7fbe877c4f82 (patch)
tree418d0bc176e296c6eb6eb4cb5a0ab2866cb59398
parentFold search form into nav (diff)
downloadscooper-10f804d3cc66346ed1f6b09dd97b7fbe877c4f82.tar.gz
scooper-10f804d3cc66346ed1f6b09dd97b7fbe877c4f82.zip
Add meta viewport tag
-rw-r--r--html.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/html.c b/html.c
index af1ffb2..35b9d82 100644
--- a/html.c
+++ b/html.c
@@ -30,6 +30,12 @@ enum kcgi_err htmlHead(struct khtmlreq *html, const char *title) {
 		|| khtml_puts(html, title)
 		|| khtml_closeelem(html, 1)
 		|| khtml_attr(
+			html, KELEM_META,
+			KATTR_NAME, "viewport",
+			KATTR_CONTENT, "width=device-width, initial-scale=1.0",
+			KATTR__MAX
+		)
+		|| khtml_attr(
 			html, KELEM_LINK,
 			KATTR_REL, "stylesheet",
 			KATTR_HREF, htmlStylesheet,
d> 2017-07-31Fix removing clients from clientCastJune McEnroe 2017-07-31Build with debug infoJune McEnroe 2017-07-31Don't dump tiles in coreJune McEnroe 2017-07-31Use designated initializers for messagesJune McEnroe 2017-07-31Show other clients' cursorsJune McEnroe 2017-07-31Perform enter as two moves rather than a loopJune McEnroe 2017-07-31Track tile access countsJune McEnroe 2017-07-31Adjust move speed in clientJune McEnroe 2017-07-31Handle large movesJune McEnroe 2017-07-30Optimize builds for chrootJune McEnroe 2017-07-30Persist bright across color changesJune McEnroe 2017-07-30Add index.htmlJune McEnroe 2017-07-30Add snapshot.shJune McEnroe 2017-07-30Fix termcap patch for background colorsJune McEnroe 2017-07-30Update helpJune McEnroe 2017-07-30Fix help to track colorJune McEnroe 2017-07-30Support background colorsJune McEnroe 2017-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroe