kenken999 commited on
Commit
6a69233
1 Parent(s): d39a05a
Files changed (1) hide show
  1. static/index.html +6 -1
static/index.html CHANGED
@@ -9,21 +9,26 @@
9
  html, body {
10
  height: 100%;
11
  margin: 0;
 
12
  }
13
  .iframe-container {
14
  height: 100%;
15
  width: 100%;
 
16
  }
17
  iframe {
18
  height: 100%;
19
  width: 100%;
20
  border: none; /* optional, removes the iframe border */
 
 
 
21
  }
22
  </style>
23
  </head>
24
  <body>
25
  <div class="iframe-container">
26
- <iframe src="/gradio"></iframe>
27
  </div>
28
  </body>
29
  </html>
 
9
  html, body {
10
  height: 100%;
11
  margin: 0;
12
+ overflow: hidden; /* Prevents scrolling on the main page */
13
  }
14
  .iframe-container {
15
  height: 100%;
16
  width: 100%;
17
+ position: relative; /* Ensures the iframe is positioned correctly */
18
  }
19
  iframe {
20
  height: 100%;
21
  width: 100%;
22
  border: none; /* optional, removes the iframe border */
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
  }
27
  </style>
28
  </head>
29
  <body>
30
  <div class="iframe-container">
31
+ <iframe src="https://kenken999-gradio-fastapi-statics.hf.space/gradio/"></iframe>
32
  </div>
33
  </body>
34
  </html>