summary refs log tree commit diff
path: root/html.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-16 14:51:15 -0400
committerJune McEnroe <june@causal.agency>2020-07-16 14:51:15 -0400
commitc0146ffe7966f8d293f5c0beb0051414e298ff2e (patch)
tree075b8967b57f389c2880e13b62664fdb0f374945 /html.c
parentHandle HEAD for stylesheet (diff)
downloadscooper-c0146ffe7966f8d293f5c0beb0051414e298ff2e.tar.gz
scooper-c0146ffe7966f8d293f5c0beb0051414e298ff2e.zip
Remove viewport meta
The browser-default styles do weird things so it actually looks better
without...
Diffstat (limited to '')
-rw-r--r--html.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/html.c b/html.c
index 6d4f15d..2d3ce2f 100644
--- a/html.c
+++ b/html.c
@@ -37,12 +37,6 @@ 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,