Improve graphs page display on mobile devices.
[darkstat] / html.c
diff --git a/html.c b/html.c
index fe5bb68..5f9c4f7 100644 (file)
--- a/html.c
+++ b/html.c
@@ -35,6 +35,7 @@ void html_open(struct str *buf, const char *title,
          "<title>%s (darkstat %s)</title>\n"
          "<meta name=\"generator\" content=\"" PACKAGE_STRING "\">\n"
          "<meta name=\"robots\" content=\"noindex, noarchive\">\n"
+         "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">\n"
          "<link rel=\"stylesheet\" href=\"%s/style.css\" type=\"text/css\">\n",
         title, title_interfaces, root);