@agent-link/server 0.1.103 → 0.1.105
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/package.json +1 -1
- package/web/index.html +6 -6
- package/web/style.css +1 -5
package/package.json
CHANGED
package/web/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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">
|
|
6
6
|
<title>AgentLink</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
8
8
|
<link rel="stylesheet" href="/style.css">
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
// iPad: track visualViewport to handle keyboard accessory bar
|
|
23
23
|
(function() {
|
|
24
24
|
if (!window.visualViewport) return;
|
|
25
|
-
function
|
|
25
|
+
function onViewportResize() {
|
|
26
26
|
var vv = window.visualViewport;
|
|
27
27
|
var app = document.getElementById('app');
|
|
28
28
|
if (!app) return;
|
|
29
|
-
|
|
30
|
-
app
|
|
29
|
+
// When keyboard accessory bar appears, visual viewport shrinks.
|
|
30
|
+
// Adjust #app to stay within visible area.
|
|
31
|
+
app.style.height = vv.height + 'px';
|
|
31
32
|
}
|
|
32
|
-
window.visualViewport.addEventListener('resize',
|
|
33
|
-
window.visualViewport.addEventListener('scroll', onResize);
|
|
33
|
+
window.visualViewport.addEventListener('resize', onViewportResize);
|
|
34
34
|
})();
|
|
35
35
|
</script>
|
|
36
36
|
<script src="/vendor/vue.global.prod.js"></script>
|
package/web/style.css
CHANGED
|
@@ -60,11 +60,7 @@ body {
|
|
|
60
60
|
|
|
61
61
|
#app {
|
|
62
62
|
position: fixed;
|
|
63
|
-
|
|
64
|
-
right: env(safe-area-inset-right, 0px);
|
|
65
|
-
bottom: env(safe-area-inset-bottom, 0px);
|
|
66
|
-
left: env(safe-area-inset-left, 0px);
|
|
67
|
-
height: var(--vv-height, auto);
|
|
63
|
+
inset: 0;
|
|
68
64
|
}
|
|
69
65
|
|
|
70
66
|
/* ── Layout ── */
|