diff options
| author | Marin Ivanov <[email protected]> | 2024-08-20 17:03:05 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-08-20 17:03:05 +0300 |
| commit | 869c09a0ed7e7c1fa6a4376cf9acf06e7fecc874 (patch) | |
| tree | 5a0a8192e0e0a36bf472d3e021b86977b0011eb5 | |
| parent | ae3c05148848d029c188553e7e5211b6d1b63d1a (diff) | |
mobile improvements
| -rw-r--r-- | app.js | 4 | ||||
| -rw-r--r-- | index.html | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -48,7 +48,7 @@ function CErr(text) { var el = div( - div("🗙").$cls("close").$click(errClose), + div("✖").$cls("close").$click(errClose), span("⚠"), text, ).$cls("err"); @@ -120,7 +120,7 @@ mount(app, (h) => { loading(isLoading); return [ - div(error && CErr(error.message)), + div(error && CErr(String(error))), main( navbar(h), section(router(h)) @@ -2,6 +2,7 @@ <html lang="en"> <head> <meta charset="utf8"> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>WebIF 2.0</title> <link rel="stylesheet" href="style.css"> </head> |
