Skip to content

Commit

Permalink
try change html
Browse files Browse the repository at this point in the history
  • Loading branch information
caengen committed Aug 20, 2023
1 parent 8010608 commit 5a0773d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@
align-items: center;
margin: 0;
}
canvas {
padding: 0px;
body > div {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}
canvas {
padding: 0px;
touch-action: manipulation;
}
</style>
</head>

<body>
<script type="module"> import init from './invasion.js'; var res = await init(); res.start(); </script>
<div>
<script type="module"> import init from './invasion.js'; var res = await init(); res.start(); </script>
</div>
</body>

</html>

0 comments on commit 5a0773d

Please sign in to comment.