@agent-link/server 0.1.103 → 0.1.104

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-link/server",
3
- "version": "0.1.103",
3
+ "version": "0.1.104",
4
4
  "description": "AgentLink relay server",
5
5
  "license": "MIT",
6
6
  "repository": {
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, viewport-fit=cover">
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,18 @@
22
22
  // iPad: track visualViewport to handle keyboard accessory bar
23
23
  (function() {
24
24
  if (!window.visualViewport) return;
25
- function onResize() {
25
+ function onViewportChange() {
26
26
  var vv = window.visualViewport;
27
27
  var app = document.getElementById('app');
28
28
  if (!app) return;
29
- app.style.setProperty('--vv-offset-top', vv.offsetTop + 'px');
30
- app.style.setProperty('--vv-height', vv.height + 'px');
29
+ // When keyboard accessory bar appears, visual viewport shrinks
30
+ // and may scroll. Adjust #app to stay within visible area.
31
+ app.style.top = vv.offsetTop + 'px';
32
+ app.style.height = vv.height + 'px';
33
+ app.style.bottom = 'auto';
31
34
  }
32
- window.visualViewport.addEventListener('resize', onResize);
33
- window.visualViewport.addEventListener('scroll', onResize);
35
+ window.visualViewport.addEventListener('resize', onViewportChange);
36
+ window.visualViewport.addEventListener('scroll', onViewportChange);
34
37
  })();
35
38
  </script>
36
39
  <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
- top: var(--vv-offset-top, env(safe-area-inset-top, 0px));
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 ── */