Skip to content

Commit d1cbab4

Browse files
committed
- Updated index.html
1 parent f0c1185 commit d1cbab4

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

webApp/src/jsMain/resources/index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,25 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Shopping By KMP</title>
5+
<title>Shopping-by-KMP</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Important! -->
67
<script src="skiko.js"></script>
8+
<style>
9+
html, body {
10+
margin: 0;
11+
padding: 0;
12+
overflow: hidden;
13+
height: 100%;
14+
width: 100%;
15+
}
16+
17+
canvas {
18+
display: block;
19+
width: 100vw;
20+
height: 100vh;
21+
touch-action: none; /* optional fix for weird touch scrolling */
22+
}
23+
</style>
724
</head>
825
<body>
926
<canvas id="ComposeTarget"></canvas>

0 commit comments

Comments
 (0)