summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-02-25 06:00:46 +0000
committeruntir-l <87096069+untir-l@users.noreply.github.com>2022-02-25 09:56:49 +0000
commit924052e1f260fdcef5d1ba876113515e71d8db5e (patch)
tree6bf38d940f2029f61fbf8159c80b150fefb6cc14
parent7cdc964eac9c5035625a9ad40c40bed1edb02040 (diff)
downloadhitomezashi-924052e1f260fdcef5d1ba876113515e71d8db5e.tar
hitomezashi-924052e1f260fdcef5d1ba876113515e71d8db5e.tar.gz
hitomezashi-924052e1f260fdcef5d1ba876113515e71d8db5e.zip
Add meta viewport to web app, improve clarity in README
-rw-r--r--README.md2
-rw-r--r--web/hitomezashi_web_shell.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 34c066c..247ddc4 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ Try it: *link pending upload*.
To build, first run `make clean` if you previously built to native code, then (with Emscripten SDK in your PATH) run `emmake make hitomezashi_web.html`.
-You will need to serve, from a web server: `hitomezashi_web.html`, `hitomezashi_web.js`, `hitomezashi_web.wasm` in order for it to work; the `file://` protocol may not cut it. Remember to follow the terms of the terms of the license if you host these publicly.
+You will need to serve, from a web server: `hitomezashi_web.html`, `hitomezashi_web.js`, `hitomezashi_web.wasm` in order for it to work; the `file://` protocol may not be sufficient.
## Technical and copyright information
diff --git a/web/hitomezashi_web_shell.html b/web/hitomezashi_web_shell.html
index 13e723a..53ec0ec 100644
--- a/web/hitomezashi_web_shell.html
+++ b/web/hitomezashi_web_shell.html
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--This is code modified from https://github.com/emscripten-core/emscripten/blob/main/src/shell_minimal.html.-->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hitomezashi</title>
<style>
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }