macwhisperer commited on
Commit
51b0429
·
verified ·
1 Parent(s): 0da8c5c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -1
index.html CHANGED
@@ -6,6 +6,11 @@
6
  <title>SmartChild</title>
7
  <link rel="stylesheet" href="https://unpkg.com/xp.css">
8
  <style>
 
 
 
 
 
9
  :root {
10
  --bg-color: #008080;
11
  --window-bg: #ece9d8;
@@ -21,10 +26,11 @@
21
  flex-direction: column;
22
  justify-content: center;
23
  align-items: center;
24
- min-height: 100vh;
25
  margin: 0;
26
  padding: 20px;
27
  box-sizing: border-box;
 
28
  }
29
 
30
  /* Mobile Responsive Window */
 
6
  <title>SmartChild</title>
7
  <link rel="stylesheet" href="https://unpkg.com/xp.css">
8
  <style>
9
+ html, body {
10
+ overscroll-behavior-y: none;
11
+ touch-action: pan-x pan-y;
12
+ }
13
+
14
  :root {
15
  --bg-color: #008080;
16
  --window-bg: #ece9d8;
 
26
  flex-direction: column;
27
  justify-content: center;
28
  align-items: center;
29
+ height: 100vh; /* Changed from min-height to height */
30
  margin: 0;
31
  padding: 20px;
32
  box-sizing: border-box;
33
+ overflow: hidden; /* This stops the "wiggle" or extra page scroll */
34
  }
35
 
36
  /* Mobile Responsive Window */