MisterProton commited on
Commit
0ec0a9a
1 Parent(s): 8fbac3d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +10 -5
index.html CHANGED
@@ -2,27 +2,32 @@
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>text to image models playground</title>
7
  <style>
8
  body, html {
9
  margin: 0;
10
  padding: 0;
11
- height: 100%;
12
  overflow: hidden;
 
 
 
 
13
  }
14
  iframe {
15
  position: absolute;
16
  top: 0;
17
  left: 0;
18
  width: 100%;
19
- height: 100%;
20
  border: none;
 
21
  }
22
  </style>
23
  </head>
24
  <body>
25
- <dialog id="myDialog" style="border: none; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 20px; max-width: 300px;">
26
  <form method="dialog" style="position: relative;">
27
  <button id="closeDialogButton" class="close-button" style="position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 18px; cursor: pointer;">✖</button>
28
  <p style="margin: 20px 0 0;">Visit <a href="https://xyplon.web.app" target="_blank" style="color: #007BFF; text-decoration: none;">official website</a> for more tools and faster inference.</p>
@@ -38,7 +43,7 @@
38
  closeDialogButton.addEventListener('click', () => {
39
  dialog.close();
40
  });
41
- </script>
42
  <iframe src="https://xyplon.web.app/models"></iframe>
43
  </body>
44
  </html>
 
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <title>text to image models playground</title>
7
  <style>
8
  body, html {
9
  margin: 0;
10
  padding: 0;
11
+ height: 100vh;
12
  overflow: hidden;
13
+ -webkit-touch-callout: none;
14
+ -webkit-user-select: none;
15
+ -webkit-overflow-scrolling: touch;
16
+ -webkit-text-size-adjust: 100%;
17
  }
18
  iframe {
19
  position: absolute;
20
  top: 0;
21
  left: 0;
22
  width: 100%;
23
+ height: 100vh;
24
  border: none;
25
+ padding-bottom: env(safe-area-inset-bottom);
26
  }
27
  </style>
28
  </head>
29
  <body>
30
+ <dialog id="myDialog" style="border: none; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 20px; max-width: 300px;">
31
  <form method="dialog" style="position: relative;">
32
  <button id="closeDialogButton" class="close-button" style="position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 18px; cursor: pointer;">✖</button>
33
  <p style="margin: 20px 0 0;">Visit <a href="https://xyplon.web.app" target="_blank" style="color: #007BFF; text-decoration: none;">official website</a> for more tools and faster inference.</p>
 
43
  closeDialogButton.addEventListener('click', () => {
44
  dialog.close();
45
  });
46
+ </script>
47
  <iframe src="https://xyplon.web.app/models"></iframe>
48
  </body>
49
  </html>