fix keyboard on big screen

This commit is contained in:
Alexander Popov 2021-02-25 07:27:33 +03:00
parent 88586a52bc
commit 561acea707
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286
4 changed files with 39 additions and 17 deletions

View File

@ -1,3 +1,6 @@
## 2.0.2 # Build 2 [2021-02-25]
- ✔️ - Fix keyboard fize on big screen
## 2.0.1 [2021-02-25] ## 2.0.1 [2021-02-25]
- - Make iOS web app - - Make iOS web app

View File

@ -1,4 +1,5 @@
[ ] Keyboard fit [+] Keyboard fit
[ ] Game Statistics [ ] Game Statistics
[ ] Restart scene [ ] Restart scene
[ ] Android manifest
[+] iOS web app [+] iOS web app

View File

@ -7,16 +7,18 @@
--> -->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>WORDs</title> <title>WORDs</title>
<meta name="apple-mobile-web-app-title" content="WORDs">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
<link rel="stylesheet" href="https://unpkg.com/chota@0.8.0"> <link rel="stylesheet" href="https://unpkg.com/chota@0.8.0">
<!-- dev mode --> <link rel="stylesheet" href="_media/css/styles.css?v=2">
<!-- <link rel="stylesheet" href="_media/css/chota.min.css"> -->
<link rel="stylesheet" href="_media/css/styles.css">
<link rel="icon" type="image/png" href="_media/img/favicon.png"> <link rel="icon" type="image/png" href="_media/img/favicon.png">
<!-- Mobile -->
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
<meta name="format-detection" content="telephone=no">
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="WORDs">
<link rel="apple-touch-icon" href="_media/img/apple-touch-icon.png"> <link rel="apple-touch-icon" href="_media/img/apple-touch-icon.png">
<link rel="apple-touch-startup-image" href="_media/img/apple-launch-icon.png"> <link rel="apple-touch-startup-image" href="_media/img/apple-launch-icon.png">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
@ -26,7 +28,7 @@
<header> <header>
<nav class="nav"> <nav class="nav">
<div class="nav-left hide-xs"> <div class="nav-left hide-xs">
<a class="brand" href="#">WORDs</a> <a class="brand">WORDs</a>
</div> </div>
<div class="nav-center"> <div class="nav-center">
<p id="lives" class="button error is-full-width">loading...</p> <p id="lives" class="button error is-full-width">loading...</p>
@ -47,20 +49,26 @@
<br> <br>
<section id="content"> <section id="content">
<!-- answer word div -->
<p id="word" class="card text-center text-uppercase"> <p id="word" class="card text-center text-uppercase">
Loading word... Loading word...
</p> </p>
<div id="keyboard" class="is-hidden text-center"> <!-- keyboard div -->
... keyboard ... <div class="row">
<div class="col hide-xs hide-sm"></div>
<div id="keyboard" class="col-5-md is-hidden text-center is-full-width">
... keyboard ...
</div>
<div class="col hide-xs hide-sm"></div>
</div> </div>
</section> </section>
<footer class="text-center hide-xs"> <footer class="text-center hide-xs">
<hr> <hr>
<p class="text-grey is-marginless is-small"> <p class="text-grey is-marginless is-small">
by iiiypuk<br> by <a href="//iiiypuk.me/about/" target="_blank">iiiypuk</a><br>
ver: 2.0.1 ver: <a href="https://github.com/iiiypuk/hgman/blob/master/CHANGELOG.md" target="_blank">2.0.2</a>
</p> </p>
<div id="statistics" class="is-hidden"> <div id="statistics" class="is-hidden">
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
@ -85,6 +93,6 @@
} }
</script> </script>
<script type="text/javascript" src="_media/js/game.js"></script> <script type="text/javascript" src="_media/js/game.js?v=2"></script>
</body> </body>
</html> </html>

View File

@ -1,5 +1,15 @@
{ {
"dependencies": { "name": "hgman",
"chota": "0.8.0" "version": "2.0.2",
} "description": "",
"keywords": [],
"author": "Alexander Popov",
"license": "MIT",
"browserslist": [
"defaults",
"not dead"
],
"dependencies": {
"chota": "0.8.0"
}
} }