@littlepartytime/dev-kit 1.20.7 → 1.20.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/webapp/index.html
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
6
6
|
<title>LPT Dev Kit</title>
|
|
7
7
|
<style>
|
|
8
8
|
/* ── Dev-Kit UI base ── */
|
|
9
9
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
10
|
-
body { background: #0a0a0a; color: #e5e5e5; font-family: system-ui, -apple-system, sans-serif; }
|
|
10
|
+
html, body { background: #0a0a0a; color: #e5e5e5; font-family: system-ui, -apple-system, sans-serif; overflow: hidden; overscroll-behavior: none; }
|
|
11
|
+
@media (max-width: 767px) {
|
|
12
|
+
html, body { position: fixed; width: 100%; height: 100%; touch-action: none; }
|
|
13
|
+
}
|
|
11
14
|
|
|
12
15
|
/* ── Interactive states (can't be expressed as inline styles) ── */
|
|
13
16
|
.dk-nav-btn:hover { color: #fff; }
|
|
@@ -287,7 +287,7 @@ export default function Play() {
|
|
|
287
287
|
// Mobile: fullscreen game, no PhoneFrame or dev controls
|
|
288
288
|
if (isMobile) {
|
|
289
289
|
return (
|
|
290
|
-
<div style={{ width: '100vw', height: '
|
|
290
|
+
<div style={{ width: '100vw', height: '100dvh', overflow: 'hidden', touchAction: 'none', position: 'fixed', top: 0, left: 0 }}>
|
|
291
291
|
{gameContent}
|
|
292
292
|
</div>
|
|
293
293
|
);
|