add meta viewport for scaling on mobile
Patch by Augustin Fabre <augustin@augfab.fr>
This commit is contained in:
parent
ae41add24a
commit
a63645a5ea
1 changed files with 1 additions and 0 deletions
1
stagit.c
1
stagit.c
|
@ -449,6 +449,7 @@ writeheader(FILE *fp, const char *title)
|
|||
fputs("<!DOCTYPE html>\n"
|
||||
"<html>\n<head>\n"
|
||||
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n"
|
||||
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n"
|
||||
"<title>", fp);
|
||||
xmlencode(fp, title, strlen(title));
|
||||
if (title[0] && strippedname[0])
|
||||
|
|
Loading…
Reference in a new issue